home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-03-07 | 21.6 KB | [QUIL/quil] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [QUIL] |
macFileCreator | [quil] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 00 00 4a 9c 44 65 | 76 65 6c 6f 70 69 6e 67 |....J.De|veloping|
|00000010| 20 53 63 72 69 70 74 61 | 62 6c 65 20 41 70 70 6c | Scripta|ble Appl|
|00000020| 69 63 61 74 69 6f 6e 73 | 0d 0d 54 68 69 73 20 64 |ications|..This d|
|00000030| 6f 63 75 6d 65 6e 74 20 | 63 6f 6e 74 61 69 6e 73 |ocument |contains|
|00000040| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00000050| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 6f |the foll|owing to|
|00000060| 70 69 63 73 3a 0d 20 20 | 20 20 20 31 2e 20 20 47 |pics:. | 1. G|
|00000070| 69 76 69 6e 67 20 42 65 | 74 74 65 72 20 45 72 72 |iving Be|tter Err|
|00000080| 6f 72 20 4d 65 73 73 61 | 67 65 73 0d 20 20 20 20 |or Messa|ges. |
|00000090| 20 32 2e 20 20 53 63 72 | 69 70 74 69 6e 67 20 53 | 2. Scr|ipting S|
|000000a0| 69 7a 65 20 52 65 73 6f | 75 72 63 65 0d 20 20 20 |ize Reso|urce. |
|000000b0| 20 20 33 2e 20 20 53 75 | 62 72 6f 75 74 69 6e 65 | 3. Su|broutine|
|000000c0| 20 45 76 65 6e 74 73 0d | 20 20 20 20 20 34 2e 09 | Events.| 4..|
|000000d0| 55 73 65 72 2d 44 65 66 | 69 6e 65 64 20 50 72 6f |User-Def|ined Pro|
|000000e0| 70 65 72 74 69 65 73 0d | 20 20 20 20 20 35 2e 20 |perties.| 5. |
|000000f0| 20 53 79 6e 6f 6e 79 6d | 73 0d 20 20 20 20 20 36 | Synonym|s. 6|
|00000100| 2e 20 20 43 6f 6e 73 69 | 64 65 72 61 74 69 6f 6e |. Consi|deration|
|00000110| 73 20 69 6e 20 57 68 6f | 73 65 20 43 6c 61 75 73 |s in Who|se Claus|
|00000120| 65 73 0d 20 20 20 20 20 | 37 2e 20 20 53 74 72 69 |es. |7. Stri|
|00000130| 6e 67 73 20 61 6e 64 20 | 54 65 78 74 0d 20 20 20 |ngs and |Text. |
|00000140| 20 20 38 2e 20 20 57 72 | 69 74 69 6e 67 20 43 6f | 8. Wr|iting Co|
|00000150| 64 65 20 49 6e 66 6f 0d | 20 20 20 20 20 39 2e 20 |de Info.| 9. |
|00000160| 20 41 45 55 73 65 72 54 | 65 72 6d 54 79 70 65 73 | AEUserT|ermTypes|
|00000170| 2e 72 20 43 68 61 6e 67 | 65 73 0d 20 20 20 20 31 |.r Chang|es. 1|
|00000180| 30 2e 20 20 54 79 70 65 | 20 4e 61 6d 65 73 20 53 |0. Type| Names S|
|00000190| 75 69 74 65 0d 20 20 20 | 20 31 31 2e 20 20 54 72 |uite. | 11. Tr|
|000001a0| 61 6e 73 61 63 74 69 6f | 6e 73 0d 20 20 20 20 31 |ansactio|ns. 1|
|000001b0| 32 2e 20 20 44 65 76 65 | 6c 6f 70 69 6e 67 20 4f |2. Deve|loping O|
|000001c0| 53 41 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 73 0d |SA Appli|cations.|
|000001d0| 20 20 0d 0d 47 69 76 69 | 6e 67 20 42 65 74 74 65 | ..Givi|ng Bette|
|000001e0| 72 20 45 72 72 6f 72 20 | 4d 65 73 73 61 67 65 73 |r Error |Messages|
|000001f0| 0d 0d 43 6f 65 72 63 69 | 6f 6e 20 45 72 72 6f 72 |..Coerci|on Error|
|00000200| 73 0d 0d 45 76 65 72 20 | 73 65 65 6e 20 74 68 65 |s..Ever |seen the|
|00000210| 20 6d 65 73 73 61 67 65 | 3a 0d 0d 09 43 61 6e 27 | message|:...Can'|
|00000220| 74 20 6d 61 6b 65 20 73 | 6f 6d 65 20 64 61 74 61 |t make s|ome data|
|00000230| 20 69 6e 74 6f 20 74 68 | 65 20 65 78 70 65 63 74 | into th|e expect|
|00000240| 65 64 20 74 79 70 65 2e | 0d 0d 61 6e 64 20 77 6f |ed type.|..and wo|
|00000250| 6e 64 65 72 65 64 20 68 | 6f 77 20 74 6f 20 67 65 |ndered h|ow to ge|
|00000260| 74 20 72 69 64 20 6f 66 | 20 69 74 3f 20 49 74 27 |t rid of| it? It'|
|00000270| 73 20 65 61 73 79 20 69 | 66 20 79 6f 75 20 6b 6e |s easy i|f you kn|
|00000280| 6f 77 20 61 20 66 65 77 | 20 74 68 69 6e 67 73 20 |ow a few| things |
|00000290| 61 62 6f 75 74 20 68 6f | 77 20 41 70 70 6c 65 53 |about ho|w AppleS|
|000002a0| 63 72 69 70 74 20 64 65 | 61 6c 73 20 77 69 74 68 |cript de|als with|
|000002b0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 73 2e | error m|essages.|
|000002c0| 0d 0d 27 43 61 6e 27 74 | 20 6d 61 6b 65 20 73 6f |..'Can't| make so|
|000002d0| 6d 65 20 64 61 74 61 20 | 69 6e 74 6f 20 74 68 65 |me data |into the|
|000002e0| 20 65 78 70 65 63 74 65 | 64 20 74 79 70 65 27 20 | expecte|d type' |
|000002f0| 69 73 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 6d |is the d|efault m|
|00000300| 65 73 73 61 67 65 20 70 | 72 69 6e 74 65 64 20 69 |essage p|rinted i|
|00000310| 6e 20 72 65 73 70 6f 6e | 73 65 20 74 6f 20 61 6e |n respon|se to an|
|00000320| 20 65 72 72 4f 53 41 43 | 61 6e 74 43 6f 65 72 63 | errOSAC|antCoerc|
|00000330| 65 20 28 2d 31 37 30 30 | 2c 20 73 61 6d 65 20 61 |e (-1700|, same a|
|00000340| 73 20 65 72 72 41 45 43 | 6f 65 72 63 69 6f 6e 46 |s errAEC|oercionF|
|00000350| 61 69 6c 29 20 65 72 72 | 6f 72 2e 20 53 69 6e 63 |ail) err|or. Sinc|
|00000360| 65 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 68 61 |e AppleS|cript ha|
|00000370| 73 20 6e 6f 20 69 64 65 | 61 20 77 68 61 74 20 79 |s no ide|a what y|
|00000380| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00000390| 77 61 73 20 74 72 79 69 | 6e 67 20 74 6f 20 63 6f |was tryi|ng to co|
|000003a0| 65 72 63 65 2c 20 61 6e | 64 20 74 6f 20 77 68 61 |erce, an|d to wha|
|000003b0| 74 20 74 79 70 65 2c 20 | 69 74 20 63 61 6e 27 74 |t type, |it can't|
|000003c0| 20 70 75 74 20 75 70 20 | 61 20 62 65 74 74 65 72 | put up |a better|
|000003d0| 20 6d 65 73 73 61 67 65 | 2e 20 48 6f 77 65 76 65 | message|. Howeve|
|000003e0| 72 20 69 66 20 79 6f 75 | 20 69 6e 66 6f 72 6d 20 |r if you| inform |
|000003f0| 41 70 70 6c 65 53 63 72 | 69 70 74 20 77 68 61 74 |AppleScr|ipt what|
|00000400| 20 74 68 65 73 65 20 74 | 77 6f 20 70 61 72 61 6d | these t|wo param|
|00000410| 65 74 65 72 73 20 61 72 | 65 2c 20 62 65 74 74 65 |eters ar|e, bette|
|00000420| 72 20 6d 65 73 73 61 67 | 65 73 20 77 69 6c 6c 20 |r messag|es will |
|00000430| 62 65 20 67 65 6e 65 72 | 61 74 65 64 2e 0d 0d 41 |be gener|ated...A|
|00000440| 64 64 69 6e 67 20 61 20 | 6b 4f 53 41 45 72 72 6f |dding a |kOSAErro|
|00000450| 72 4f 66 66 65 6e 64 69 | 6e 67 4f 62 6a 65 63 74 |rOffendi|ngObject|
|00000460| 20 70 61 72 61 6d 65 74 | 65 72 20 74 6f 20 79 6f | paramet|er to yo|
|00000470| 75 72 20 72 65 70 6c 79 | 20 77 69 74 68 20 74 68 |ur reply| with th|
|00000480| 65 20 64 61 74 61 20 6f | 72 20 6f 62 6a 65 63 74 |e data o|r object|
|00000490| 20 73 70 65 63 69 66 69 | 65 72 20 6f 66 20 74 68 | specifi|er of th|
|000004a0| 65 20 74 68 69 6e 67 20 | 74 72 79 69 6e 67 20 74 |e thing |trying t|
|000004b0| 6f 20 62 65 20 63 6f 65 | 72 63 65 64 20 77 69 6c |o be coe|rced wil|
|000004c0| 6c 20 63 61 75 73 65 20 | 74 68 69 73 20 6d 65 73 |l cause |this mes|
|000004d0| 73 61 67 65 20 74 6f 20 | 62 65 20 67 65 6e 65 72 |sage to |be gener|
|000004e0| 61 74 65 64 3a 0d 0d 09 | 43 61 6e 27 74 20 6d 61 |ated:...|Can't ma|
|000004f0| 6b 65 20 3c 79 6f 75 72 | 20 64 61 74 61 20 6f 72 |ke <your| data or|
|00000500| 20 6f 73 70 65 63 3e 20 | 69 6e 74 6f 20 74 68 65 | ospec> |into the|
|00000510| 20 65 78 70 65 63 74 65 | 64 20 74 79 70 65 2e 0d | expecte|d type..|
|00000520| 0d 41 64 64 69 6e 67 20 | 61 20 6b 4f 53 41 45 72 |.Adding |a kOSAEr|
|00000530| 72 6f 72 45 78 70 65 63 | 74 65 64 54 79 70 65 20 |rorExpec|tedType |
|00000540| 70 61 72 61 6d 65 74 65 | 72 20 74 6f 20 74 68 65 |paramete|r to the|
|00000550| 20 72 65 70 6c 79 20 65 | 76 65 6e 74 20 77 69 6c | reply e|vent wil|
|00000560| 6c 20 63 61 75 73 65 20 | 61 20 63 6f 6d 70 6c 65 |l cause |a comple|
|00000570| 74 65 20 6d 65 73 73 61 | 67 65 20 74 6f 20 62 65 |te messa|ge to be|
|00000580| 20 67 65 6e 65 72 61 74 | 65 64 3a 0d 0d 09 43 61 | generat|ed:...Ca|
|00000590| 6e 27 74 20 6d 61 6b 65 | 20 3c 79 6f 75 72 20 64 |n't make| <your d|
|000005a0| 61 74 61 20 6f 72 20 6f | 73 70 65 63 3e 20 69 6e |ata or o|spec> in|
|000005b0| 74 6f 20 61 20 3c 74 79 | 70 65 3e 2e 0d 0d 54 68 |to a <ty|pe>...Th|
|000005c0| 69 73 20 70 61 72 61 6d | 65 74 65 72 20 73 68 6f |is param|eter sho|
|000005d0| 75 6c 64 20 62 65 20 61 | 20 64 65 73 63 72 69 70 |uld be a| descrip|
|000005e0| 74 6f 72 20 6f 66 20 74 | 79 70 65 54 79 70 65 2c |tor of t|ypeType,|
|000005f0| 20 61 6e 64 20 74 68 65 | 20 64 61 74 61 48 61 6e | and the| dataHan|
|00000600| 64 6c 65 20 73 68 6f 75 | 6c 64 20 63 6f 6e 74 61 |dle shou|ld conta|
|00000610| 69 6e 20 74 68 65 20 34 | 2d 63 68 61 72 20 63 6f |in the 4|-char co|
|00000620| 64 65 20 6f 66 20 74 68 | 65 20 63 6c 61 73 73 20 |de of th|e class |
|00000630| 74 6f 20 62 65 20 70 72 | 69 6e 74 65 64 2e 20 4f |to be pr|inted. O|
|00000640| 66 20 63 6f 75 72 73 65 | 2c 20 74 68 65 72 65 20 |f course|, there |
|00000650| 6d 75 73 74 20 62 65 20 | 61 6e 20 65 6e 74 72 79 |must be |an entry|
|00000660| 20 69 6e 20 79 6f 75 72 | 20 61 70 70 27 73 20 74 | in your| app's t|
|00000670| 65 72 6d 69 6e 6f 6c 6f | 67 79 20 66 6f 72 20 74 |erminolo|gy for t|
|00000680| 68 61 74 20 63 6c 61 73 | 73 20 69 6e 20 6f 72 64 |hat clas|s in ord|
|00000690| 65 72 20 74 6f 20 61 76 | 6f 69 64 20 70 72 69 6e |er to av|oid prin|
|000006a0| 74 69 6e 67 20 74 68 65 | 20 63 6c 61 73 73 20 61 |ting the| class a|
|000006b0| 73 20 27 c7 63 6c 61 73 | 73 20 78 78 78 78 c8 27 |s '.clas|s xxxx.'|
|000006c0| 2e 20 4e 6f 74 65 20 74 | 68 61 74 20 69 66 20 74 |. Note t|hat if t|
|000006d0| 68 65 20 65 78 70 65 63 | 74 65 64 20 74 79 70 65 |he expec|ted type|
|000006e0| 20 69 73 20 73 75 70 70 | 6c 69 65 64 2c 20 62 75 | is supp|lied, bu|
|000006f0| 74 20 6e 6f 74 20 74 68 | 65 20 6f 66 66 65 6e 64 |t not th|e offend|
|00000700| 69 6e 67 20 6f 62 6a 65 | 63 74 2c 20 74 68 65 20 |ing obje|ct, the |
|00000710| 77 65 61 6b 65 73 74 20 | 66 6f 72 6d 20 6f 66 20 |weakest |form of |
|00000720| 74 68 69 73 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |this err|or messa|
|00000730| 67 65 20 77 69 6c 6c 20 | 62 65 20 70 72 69 6e 74 |ge will |be print|
|00000740| 65 64 20 28 69 2e 65 2e | 20 79 6f 75 20 6e 65 65 |ed (i.e.| you nee|
|00000750| 64 20 62 6f 74 68 29 2e | 0d 0d 54 68 69 73 20 77 |d both).|..This w|
|00000760| 68 6f 6c 65 20 64 69 73 | 63 75 73 73 69 6f 6e 20 |hole dis|cussion |
|00000770| 61 6c 73 6f 20 61 70 70 | 6c 69 65 73 20 74 6f 20 |also app|lies to |
|00000780| 65 72 72 4f 53 41 54 79 | 70 65 45 72 72 6f 72 20 |errOSATy|peError |
|00000790| 28 2d 31 37 30 33 2c 20 | 73 61 6d 65 20 61 73 20 |(-1703, |same as |
|000007a0| 65 72 72 41 45 57 72 6f | 6e 67 44 61 74 61 54 79 |errAEWro|ngDataTy|
|000007b0| 70 65 29 20 61 6e 64 20 | 74 68 65 20 52 65 67 69 |pe) and |the Regi|
|000007c0| 73 74 72 79 20 65 72 72 | 6f 72 20 65 72 72 41 45 |stry err|or errAE|
|000007d0| 54 79 70 65 45 72 72 6f | 72 20 28 2d 31 30 30 30 |TypeErro|r (-1000|
|000007e0| 31 29 2e 20 46 6f 72 20 | 74 68 65 73 65 2c 20 74 |1). For |these, t|
|000007f0| 68 65 20 6d 65 73 73 61 | 67 65 20 27 53 6f 6d 65 |he messa|ge 'Some|
|00000800| 20 64 61 74 61 20 77 61 | 73 20 74 68 65 20 77 72 | data wa|s the wr|
|00000810| 6f 6e 67 20 74 79 70 65 | 2e 27 20 63 61 6e 20 62 |ong type|.' can b|
|00000820| 65 63 6f 6d 65 20 27 3c | 64 61 74 61 3e 20 69 73 |ecome '<|data> is|
|00000830| 20 6e 6f 74 20 61 20 3c | 74 79 70 65 3e 2e 27 0d | not a <|type>.'.|
|00000840| 0d 4d 69 73 73 69 6e 67 | 20 50 61 72 61 6d 65 74 |.Missing| Paramet|
|00000850| 65 72 20 45 72 72 6f 72 | 73 0d 0d 59 6f 75 20 63 |er Error|s..You c|
|00000860| 61 6e 20 72 65 70 6f 72 | 74 20 61 20 62 65 74 74 |an repor|t a bett|
|00000870| 65 72 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |er error| message|
|00000880| 20 66 6f 72 20 6d 69 73 | 73 69 6e 67 20 65 76 65 | for mis|sing eve|
|00000890| 6e 74 20 70 61 72 61 6d | 65 74 65 72 73 2e 20 4e |nt param|eters. N|
|000008a0| 6f 72 6d 61 6c 6c 79 2c | 20 74 68 65 20 6d 65 73 |ormally,| the mes|
|000008b0| 73 61 67 65 20 72 65 70 | 6f 72 74 65 64 20 77 6f |sage rep|orted wo|
|000008c0| 75 6c 64 20 62 65 3a 0d | 0d 09 53 6f 6d 65 20 70 |uld be:.|..Some p|
|000008d0| 61 72 61 6d 65 74 65 72 | 20 69 73 20 6d 69 73 73 |arameter| is miss|
|000008e0| 69 6e 67 20 66 6f 72 20 | 3c 65 76 65 6e 74 3e 2e |ing for |<event>.|
|000008f0| 0d 0d 54 68 69 73 20 65 | 72 72 6f 72 20 72 65 73 |..This e|rror res|
|00000900| 75 6c 74 73 20 66 72 6f | 6d 20 72 65 74 75 72 6e |ults fro|m return|
|00000910| 69 6e 67 20 61 6e 20 65 | 72 72 4f 53 41 4d 69 73 |ing an e|rrOSAMis|
|00000920| 73 69 6e 67 50 61 72 61 | 6d 65 74 65 72 20 28 2d |singPara|meter (-|
|00000930| 31 37 30 31 2c 20 73 61 | 6d 65 20 61 73 20 65 72 |1701, sa|me as er|
|00000940| 72 41 45 44 65 73 63 4e | 6f 74 46 6f 75 6e 64 29 |rAEDescN|otFound)|
|00000950| 2e 20 42 79 20 73 75 70 | 70 6c 79 69 6e 67 20 74 |. By sup|plying t|
|00000960| 68 65 20 63 6f 64 65 20 | 6f 66 20 74 68 65 20 6d |he code |of the m|
|00000970| 69 73 73 69 6e 67 20 70 | 61 72 61 6d 65 74 65 72 |issing p|arameter|
|00000980| 20 61 73 20 61 20 6b 4f | 53 41 45 72 72 6f 72 4f | as a kO|SAErrorO|
|00000990| 66 66 65 6e 64 69 6e 67 | 4f 62 6a 65 63 74 20 6f |ffending|Object o|
|000009a0| 66 20 74 79 70 65 4b 65 | 79 77 6f 72 64 20 69 6e |f typeKe|yword in|
|000009b0| 20 74 68 65 20 72 65 70 | 6c 79 20 65 76 65 6e 74 | the rep|ly event|
|000009c0| 2c 20 74 68 69 73 20 6d | 65 73 73 61 67 65 20 63 |, this m|essage c|
|000009d0| 61 6e 20 62 65 20 69 6d | 70 72 6f 76 65 64 20 74 |an be im|proved t|
|000009e0| 6f 3a 0d 0d 09 54 68 65 | 20 3c 70 61 72 61 6d 65 |o:...The| <parame|
|000009f0| 74 65 72 20 6e 61 6d 65 | 3e 20 70 61 72 61 6d 65 |ter name|> parame|
|00000a00| 74 65 72 20 69 73 20 6d | 69 73 73 69 6e 67 20 66 |ter is m|issing f|
|00000a10| 6f 72 20 3c 65 76 65 6e | 74 3e 2e 0d 0d 41 6c 73 |or <even|t>...Als|
|00000a20| 6f 20 28 61 6e 64 20 49 | 20 6b 6e 6f 77 20 74 68 |o (and I| know th|
|00000a30| 69 73 20 69 73 20 77 65 | 69 72 64 29 2c 20 79 6f |is is we|ird), yo|
|00000a40| 75 20 63 61 6e 20 72 65 | 70 6f 72 74 20 61 20 64 |u can re|port a d|
|00000a50| 69 66 66 65 72 65 6e 74 | 20 6e 61 6d 65 20 66 6f |ifferent| name fo|
|00000a60| 72 20 74 68 65 20 65 76 | 65 6e 74 20 74 68 61 74 |r the ev|ent that|
|00000a70| 20 63 61 75 73 65 64 20 | 74 68 65 20 65 72 72 6f | caused |the erro|
|00000a80| 72 20 62 79 20 73 75 70 | 70 6c 79 69 6e 67 20 61 |r by sup|plying a|
|00000a90| 20 6b 4f 53 41 45 72 72 | 6f 72 45 78 70 65 63 74 | kOSAErr|orExpect|
|00000aa0| 65 64 54 79 70 65 20 70 | 61 72 61 6d 65 74 65 72 |edType p|arameter|
|00000ab0| 20 69 6e 20 74 68 65 20 | 65 76 65 6e 74 20 72 65 | in the |event re|
|00000ac0| 70 6c 79 20 6f 66 20 74 | 79 70 65 20 63 45 76 65 |ply of t|ype cEve|
|00000ad0| 6e 74 49 64 65 6e 74 69 | 66 69 65 72 20 28 64 65 |ntIdenti|fier (de|
|00000ae0| 66 69 6e 65 64 20 69 6e | 20 41 53 52 65 67 69 73 |fined in| ASRegis|
|00000af0| 74 72 79 2e 68 29 20 77 | 69 74 68 20 61 6e 20 38 |try.h) w|ith an 8|
|00000b00| 2d 63 68 61 72 20 63 6f | 64 65 20 69 6e 20 74 68 |-char co|de in th|
|00000b10| 65 20 64 61 74 61 48 61 | 6e 64 6c 65 20 63 6f 72 |e dataHa|ndle cor|
|00000b20| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |respondi|ng to th|
|00000b30| 65 20 65 76 65 6e 74 20 | 63 6f 64 65 20 66 6f 6c |e event |code fol|
|00000b40| 6c 6f 77 65 64 20 62 79 | 20 74 68 65 20 73 75 69 |lowed by| the sui|
|00000b50| 74 65 20 63 6f 64 65 2e | 20 41 20 75 73 65 72 2d |te code.| A user-|
|00000b60| 64 65 66 69 6e 65 64 20 | 73 75 62 72 6f 75 74 69 |defined |subrouti|
|00000b70| 6e 65 20 6e 61 6d 65 20 | 63 61 6e 20 61 6c 73 6f |ne name |can also|
|00000b80| 20 62 65 20 72 65 70 6f | 72 74 65 64 20 62 79 20 | be repo|rted by |
|00000b90| 73 75 70 70 6c 79 69 6e | 67 20 61 20 6b 4f 53 41 |supplyin|g a kOSA|
|00000ba0| 45 72 72 6f 72 45 78 70 | 65 63 74 65 64 54 79 70 |ErrorExp|ectedTyp|
|00000bb0| 65 20 70 61 72 61 6d 65 | 74 65 72 20 69 6e 20 74 |e parame|ter in t|
|00000bc0| 68 65 20 65 76 65 6e 74 | 20 72 65 70 6c 79 20 6f |he event| reply o|
|00000bd0| 66 20 74 79 70 65 20 63 | 53 79 6d 62 6f 6c 20 28 |f type c|Symbol (|
|00000be0| 64 65 66 69 6e 65 64 20 | 69 6e 20 41 53 52 65 67 |defined |in ASReg|
|00000bf0| 69 73 74 72 79 2e 68 29 | 20 77 69 74 68 20 74 68 |istry.h)| with th|
|00000c00| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 6f 66 20 |e charac|ters of |
|00000c10| 74 68 65 20 69 64 65 6e | 74 69 66 69 65 72 20 69 |the iden|tifier i|
|00000c20| 6e 20 74 68 65 20 64 61 | 74 61 48 61 6e 64 6c 65 |n the da|taHandle|
|00000c30| 2e 0d 0d 41 6c 6c 20 6f | 66 20 74 68 69 73 20 61 |...All o|f this a|
|00000c40| 6c 73 6f 20 61 70 70 6c | 69 65 73 20 74 6f 20 74 |lso appl|ies to t|
|00000c50| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 65 72 72 |he follo|wing err|
|00000c60| 6f 72 73 3a 20 65 72 72 | 4f 53 41 44 75 70 6c 69 |ors: err|OSADupli|
|00000c70| 63 61 74 65 50 61 72 61 | 6d 65 74 65 72 20 28 2d |catePara|meter (-|
|00000c80| 32 37 35 31 29 2c 20 65 | 72 72 41 53 49 6c 6c 65 |2751), e|rrASIlle|
|00000c90| 67 61 6c 46 6f 72 6d 61 | 6c 50 61 72 61 6d 65 74 |galForma|lParamet|
|00000ca0| 65 72 20 28 2d 32 37 36 | 31 29 2c 20 61 6e 64 20 |er (-276|1), and |
|00000cb0| 65 72 72 41 53 50 61 72 | 61 6d 65 74 65 72 4e 6f |errASPar|ameterNo|
|00000cc0| 74 46 6f 72 45 76 65 6e | 74 20 28 2d 32 37 36 32 |tForEven|t (-2762|
|00000cd0| 29 2e 0d 0d 48 69 6e 74 | 73 20 6f 6e 20 44 65 61 |)...Hint|s on Dea|
|00000ce0| 6c 69 6e 67 20 77 69 74 | 68 20 45 72 72 6f 72 73 |ling wit|h Errors|
|00000cf0| 0d 0d 49 6e 20 67 65 6e | 65 72 61 6c 2c 20 79 6f |..In gen|eral, yo|
|00000d00| 75 20 63 61 6e 20 66 69 | 6e 64 20 6f 75 74 20 77 |u can fi|nd out w|
|00000d10| 68 61 74 20 41 70 70 6c | 65 53 63 72 69 70 74 20 |hat Appl|eScript |
|00000d20| 69 73 20 64 6f 69 6e 67 | 20 77 69 74 68 20 65 72 |is doing| with er|
|00000d30| 72 6f 72 20 70 61 72 61 | 6d 65 74 65 72 73 20 62 |ror para|meters b|
|00000d40| 79 20 74 72 79 69 6e 67 | 20 73 6f 6d 65 20 65 78 |y trying| some ex|
|00000d50| 70 72 65 73 73 69 6f 6e | 20 74 68 61 74 20 72 61 |pression| that ra|
|00000d60| 69 73 65 73 20 61 6e 20 | 65 72 72 6f 72 20 77 69 |ises an |error wi|
|00000d70| 74 68 69 6e 20 61 20 74 | 72 79 20 62 6c 6f 63 6b |thin a t|ry block|
|00000d80| 20 74 68 61 74 20 63 61 | 74 63 68 65 73 20 61 6c | that ca|tches al|
|00000d90| 6c 20 65 72 72 6f 72 73 | 2c 20 61 6e 64 20 64 69 |l errors|, and di|
|00000da0| 73 70 6c 61 79 73 20 72 | 65 6c 65 76 61 6e 74 20 |splays r|elevant |
|00000db0| 70 61 72 61 6d 65 74 65 | 72 73 20 74 6f 20 79 6f |paramete|rs to yo|
|00000dc0| 75 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |u. For e|xample, |
|00000dd0| 68 65 72 65 27 73 20 77 | 68 61 74 20 68 61 70 70 |here's w|hat happ|
|00000de0| 65 6e 73 20 77 68 65 6e | 20 77 65 20 69 6e 76 6f |ens when| we invo|
|00000df0| 6b 65 20 61 20 70 72 65 | 70 6f 73 69 74 69 6f 6e |ke a pre|position|
|00000e00| 61 6c 20 73 75 62 72 6f | 75 74 69 6e 65 20 77 69 |al subro|utine wi|
|00000e10| 74 68 6f 75 74 20 61 6c | 6c 20 69 74 73 20 70 61 |thout al|l its pa|
|00000e20| 72 61 6d 65 74 65 72 73 | 3a 0d 0d 6f 6e 20 66 6f |rameters|:..on fo|
|00000e30| 6f 20 66 72 6f 6d 20 78 | 20 74 6f 20 79 0d 09 7b |o from x| to y..{|
|00000e40| 78 2c 20 79 7d 0d 65 6e | 64 20 66 6f 6f 0d 74 72 |x, y}.en|d foo.tr|
|00000e50| 79 0d 09 66 6f 6f 20 66 | 72 6f 6d 20 33 0d 6f 6e |y..foo f|rom 3.on|
|00000e60| 20 65 72 72 6f 72 20 6d | 20 6e 75 6d 62 65 72 20 | error m| number |
|00000e70| 6e 20 66 72 6f 6d 20 66 | 20 74 6f 20 74 20 70 61 |n from f| to t pa|
|00000e80| 72 74 69 61 6c 20 72 65 | 73 75 6c 74 20 70 0d 09 |rtial re|sult p..|
|00000e90| 7b 6d 2c 20 6e 2c 20 66 | 2c 20 74 2c 20 70 7d 0d |{m, n, f|, t, p}.|
|00000ea0| 65 6e 64 20 74 72 79 0d | 2d 2d 3e 20 7b 22 54 68 |end try.|--> {"Th|
|00000eb0| 65 20 74 6f 20 70 61 72 | 61 6d 65 74 65 72 20 69 |e to par|ameter i|
|00000ec0| 73 20 6d 69 73 73 69 6e | 67 20 66 6f 72 20 66 6f |s missin|g for fo|
|00000ed0| 6f 2e 22 2c 20 2d 31 37 | 30 31 2c 20 74 6f 2c 20 |o.", -17|01, to, |
|00000ee0| 66 6f 6f 2c 20 c7 68 61 | 6e 64 6c 65 72 20 66 6f |foo, .ha|ndler fo|
|00000ef0| 6f c8 7d 0d 0d 48 65 72 | 65 20 79 6f 75 20 63 61 |o.}..Her|e you ca|
|00000f00| 6e 20 73 65 65 20 74 68 | 61 74 20 74 68 65 20 65 |n see th|at the e|
|00000f10| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 2c 20 6d 2c |rror mes|sage, m,|
|00000f20| 20 69 73 20 61 20 73 74 | 72 69 6e 67 2c 20 74 68 | is a st|ring, th|
|00000f30| 65 20 65 72 72 6f 72 20 | 6e 75 6d 62 65 72 2c 20 |e error |number, |
|00000f40| 6e 2c 20 69 73 20 2d 31 | 37 30 31 2c 20 74 68 65 |n, is -1|701, the|
|00000f50| 20 27 66 72 6f 6d 27 20 | 70 61 72 61 6d 65 74 65 | 'from' |paramete|
|00000f60| 72 2c 20 66 2c 20 28 63 | 6f 72 72 65 73 70 6f 6e |r, f, (c|orrespon|
|00000f70| 64 69 6e 67 20 74 6f 20 | 74 68 65 20 6f 66 66 65 |ding to |the offe|
|00000f80| 6e 64 69 6e 67 20 6f 62 | 6a 65 63 74 29 20 69 73 |nding ob|ject) is|
|00000f90| 20 74 68 65 20 73 79 6d | 62 6f 6c 20 27 74 6f 27 | the sym|bol 'to'|
|00000fa0| 20 28 6e 6f 74 65 20 74 | 68 61 74 20 79 6f 75 20 | (note t|hat you |
|00000fb0| 63 61 6e 27 74 20 74 79 | 70 65 20 69 6e 20 27 74 |can't ty|pe in 't|
|00000fc0| 6f 27 20 64 69 72 65 63 | 74 6c 79 20 2d 2d 20 79 |o' direc|tly -- y|
|00000fd0| 6f 75 27 6c 6c 20 67 65 | 74 20 61 20 73 79 6e 74 |ou'll ge|t a synt|
|00000fe0| 61 78 20 65 72 72 6f 72 | 29 2c 20 61 6e 64 20 74 |ax error|), and t|
|00000ff0| 68 65 20 70 61 72 74 69 | 61 6c 20 72 65 73 75 6c |he parti|al resul|
|00001000| 74 2c 20 70 2c 20 68 61 | 70 70 65 6e 73 20 74 6f |t, p, ha|ppens to|
|00001010| 20 68 6f 6c 64 20 74 68 | 65 20 68 61 6e 64 6c 65 | hold th|e handle|
|00001020| 72 20 74 68 61 74 20 66 | 61 69 6c 65 64 20 28 61 |r that f|ailed (a|
|00001030| 6e 20 61 62 75 73 65 20 | 6f 66 20 74 68 65 20 6d |n abuse |of the m|
|00001040| 65 61 6e 69 6e 67 20 6f | 66 20 74 68 65 20 74 65 |eaning o|f the te|
|00001050| 72 6d 20 22 70 61 72 74 | 69 61 6c 20 72 65 73 75 |rm "part|ial resu|
|00001060| 6c 74 2c 22 20 62 75 74 | 20 74 68 61 74 27 73 20 |lt," but| that's |
|00001070| 74 68 65 20 77 61 79 20 | 69 74 20 69 73 29 2e 0d |the way |it is)..|
|00001080| 0d a5 20 4e 6f 74 65 2c | 20 69 74 20 69 73 20 62 |.. Note,| it is b|
|00001090| 65 73 74 20 74 6f 20 6e | 6f 74 20 75 73 65 20 74 |est to n|ot use t|
|000010a0| 68 65 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |he error| message|
|000010b0| 20 73 74 72 69 6e 67 20 | 66 6f 72 20 61 6e 79 74 | string |for anyt|
|000010c0| 68 69 6e 67 20 6f 74 68 | 65 72 20 74 68 61 6e 20 |hing oth|er than |
|000010d0| 64 69 73 70 6c 61 79 69 | 6e 67 20 69 74 20 74 6f |displayi|ng it to|
|000010e0| 20 74 68 65 20 75 73 65 | 72 2c 20 6f 72 20 70 61 | the use|r, or pa|
|000010f0| 73 73 69 6e 67 20 69 74 | 20 6f 6e 20 74 6f 20 61 |ssing it| on to a|
|00001100| 6e 6f 74 68 65 72 20 63 | 61 6c 6c 20 74 6f 20 27 |nother c|all to '|
|00001110| 65 72 72 6f 72 27 2e 20 | 28 49 2e 65 2e 20 44 6f |error'. |(I.e. Do|
|00001120| 6e 27 74 20 63 6f 6d 70 | 61 72 65 20 74 6f 20 69 |n't comp|are to i|
|00001130| 74 20 2d 2d 20 27 69 66 | 20 6d 20 3d 20 22 54 68 |t -- 'if| m = "Th|
|00001140| 65 20 74 6f 20 70 61 72 | 61 6d 65 74 65 72 2e 2e |e to par|ameter..|
|00001150| 2e 22 20 74 68 65 6e 2e | 2e 2e 27 20 2d 2d 20 63 |." then.|..' -- c|
|00001160| 6f 6d 70 61 72 65 20 74 | 6f 20 74 68 65 20 6f 74 |ompare t|o the ot|
|00001170| 68 65 72 20 61 72 67 75 | 6d 65 6e 74 73 20 69 6e |her argu|ments in|
|00001180| 73 74 65 61 64 2e 29 20 | 54 68 69 73 20 73 74 72 |stead.) |This str|
|00001190| 69 6e 67 20 69 73 20 67 | 65 6e 65 72 61 74 65 64 |ing is g|enerated|
|000011a0| 20 62 79 20 75 6e 70 61 | 72 73 69 6e 67 20 76 61 | by unpa|rsing va|
|000011b0| 72 69 6f 75 73 20 76 61 | 6c 75 65 73 20 2d 2d 20 |rious va|lues -- |
|000011c0| 61 6e 20 6f 70 65 72 61 | 74 69 6f 6e 20 74 68 61 |an opera|tion tha|
|000011d0| 74 20 77 69 6c 6c 20 6e | 6f 74 20 62 65 20 61 76 |t will n|ot be av|
|000011e0| 61 69 6c 61 62 6c 65 20 | 69 66 20 61 20 64 69 61 |ailable |if a dia|
|000011f0| 6c 65 63 74 20 69 73 20 | 6e 6f 74 20 69 6e 73 74 |lect is |not inst|
|00001200| 61 6c 6c 65 64 2e 20 44 | 69 61 6c 65 63 74 73 20 |alled. D|ialects |
|00001210| 6d 61 79 20 6e 6f 74 20 | 62 65 20 69 6e 73 74 61 |may not |be insta|
|00001220| 6c 6c 65 64 20 69 6e 20 | 72 75 6e 74 69 6d 65 2d |lled in |runtime-|
|00001230| 6f 6e 6c 79 20 73 79 73 | 74 65 6d 73 2e 0d 0d 0d |only sys|tems....|
|00001240| 53 63 72 69 70 74 69 6e | 67 20 53 69 7a 65 20 52 |Scriptin|g Size R|
|00001250| 65 73 6f 75 72 63 65 0d | 0d 41 20 27 73 63 73 7a |esource.|.A 'scsz|
|00001260| 27 20 72 65 73 6f 75 72 | 63 65 20 6f 66 20 61 6e |' resour|ce of an|
|00001270| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 68 61 73 | applica|tion has|
|00001280| 20 74 6f 20 68 61 76 65 | 20 49 44 20 30 2e 20 54 | to have| ID 0. T|
|00001290| 68 69 73 20 69 73 20 6e | 6f 74 20 6d 65 6e 74 69 |his is n|ot menti|
|000012a0| 6f 6e 65 64 20 69 6e 20 | 74 68 65 20 64 6f 63 75 |oned in |the docu|
|000012b0| 6d 65 6e 74 61 74 69 6f | 6e 2e ca 0d 0d 57 65 20 |mentatio|n....We |
|000012c0| 68 61 76 65 20 61 64 64 | 65 64 20 61 20 63 6f 6e |have add|ed a con|
|000012d0| 64 69 74 69 6f 6e 20 74 | 68 61 74 20 61 6c 6c 6f |dition t|hat allo|
|000012e0| 77 73 20 75 73 20 74 6f | 20 77 6f 72 6b 20 62 65 |ws us to| work be|
|000012f0| 74 74 65 72 20 77 69 74 | 68 20 41 70 70 6c 65 74 |tter wit|h Applet|
|00001300| 73 2e 20 54 68 65 72 65 | 20 69 73 20 61 20 62 69 |s. There| is a bi|
|00001310| 74 20 69 6e 20 74 68 65 | 20 73 63 72 69 70 74 69 |t in the| scripti|
|00001320| 6e 67 20 73 69 7a 65 20 | 72 65 73 6f 75 72 63 65 |ng size |resource|
|00001330| 20 6f 66 20 61 6e 20 61 | 70 70 6c 69 63 61 74 69 | of an a|pplicati|
|00001340| 6f 6e 20 28 61 6e 20 61 | 70 70 6c 65 74 20 69 6e |on (an a|pplet in|
|00001350| 20 74 68 69 73 20 63 61 | 73 65 29 20 74 68 61 74 | this ca|se) that|
|00001360| 20 74 65 6c 6c 73 20 41 | 70 70 6c 65 53 63 72 69 | tells A|ppleScri|
|00001370| 70 74 20 74 6f 20 6e 6f | 74 20 66 69 6e 64 20 74 |pt to no|t find t|
|00001380| 68 61 74 20 66 69 6c 65 | 20 62 79 20 73 69 67 6e |hat file| by sign|
|00001390| 61 74 75 72 65 2e 20 54 | 68 69 73 20 69 73 20 62 |ature. T|his is b|
|000013a0| 65 63 61 75 73 65 20 61 | 6c 6c 20 61 70 70 6c 65 |ecause a|ll apple|
|000013b0| 74 73 20 68 61 76 65 20 | 74 68 65 20 73 61 6d 65 |ts have |the same|
|000013c0| 20 73 69 67 6e 61 74 75 | 72 65 2e 20 54 68 69 73 | signatu|re. This|
|000013d0| 20 62 69 74 20 69 73 20 | 74 68 65 20 6b 44 6f 6e | bit is |the kDon|
|000013e0| 74 46 69 6e 64 41 70 70 | 42 79 53 69 67 6e 61 74 |tFindApp|BySignat|
|000013f0| 75 72 65 20 62 69 74 2e | 20 54 68 65 20 73 65 6d |ure bit.| The sem|
|00001400| 61 6e 74 69 63 73 20 61 | 72 65 20 73 75 63 68 20 |antics a|re such |
|00001410| 74 68 61 74 20 69 66 20 | 74 68 69 73 20 62 69 74 |that if |this bit|
|00001420| 20 69 73 20 73 65 74 2c | 20 74 68 65 6e 20 64 6f | is set,| then do|
|00001430| 6e 27 74 20 66 69 6e 64 | 20 74 68 65 20 61 70 70 |n't find| the app|
|00001440| 20 62 79 20 73 69 67 6e | 61 74 75 72 65 2c 20 6f | by sign|ature, o|
|00001450| 74 68 65 72 77 69 73 65 | 2c 20 66 69 6e 64 20 62 |therwise|, find b|
|00001460| 79 20 73 69 67 6e 61 74 | 75 72 65 20 28 74 68 65 |y signat|ure (the|
|00001470| 20 64 65 66 61 75 6c 74 | 29 2e 0d 0d 42 79 20 74 | default|)...By t|
|00001480| 68 65 20 77 61 79 2c 20 | 74 68 65 20 6b 52 65 61 |he way, |the kRea|
|00001490| 64 45 78 74 65 6e 73 69 | 6f 6e 54 65 72 6d 73 4d |dExtensi|onTermsM|
|000014a0| 61 73 6b 20 69 73 20 6e | 61 6d 65 64 20 62 61 63 |ask is n|amed bac|
|000014b0| 6b 77 61 72 64 73 2e 20 | 20 49 66 20 74 68 69 73 |kwards. | If this|
|000014c0| 20 62 69 74 20 69 73 20 | 30 2c 20 77 65 20 72 65 | bit is |0, we re|
|000014d0| 61 64 20 61 65 74 65 27 | 73 20 64 69 72 65 63 74 |ad aete'|s direct|
|000014e0| 6c 79 3b 20 62 75 74 20 | 69 66 20 74 68 65 20 62 |ly; but |if the b|
|000014f0| 69 74 20 69 73 20 31 2c | 20 77 65 20 6c 61 75 6e |it is 1,| we laun|
|00001500| 63 68 20 61 6e 64 20 73 | 65 6e 64 20 74 68 65 20 |ch and s|end the |
|00001510| 67 64 75 74 20 65 76 65 | 6e 74 2e 20 55 6e 66 6f |gdut eve|nt. Unfo|
|00001520| 72 74 75 6e 61 74 65 6c | 79 2c 20 77 65 20 63 61 |rtunatel|y, we ca|
|00001530| 6e 6e 6f 74 20 72 65 6e | 61 6d 65 20 69 74 20 6e |nnot ren|ame it n|
|00001540| 6f 77 2e 0d 0d 0d 53 75 | 62 72 6f 75 74 69 6e 65 |ow....Su|broutine|
|00001550| 20 45 76 65 6e 74 73 0d | 0d 54 68 65 20 73 75 62 | Events.|.The sub|
|00001560| 72 6f 75 74 69 6e 65 20 | 65 76 65 6e 74 20 69 73 |routine |event is|
|00001570| 20 73 65 6e 74 20 62 79 | 20 41 70 70 6c 65 53 63 | sent by| AppleSc|
|00001580| 72 69 70 74 20 77 68 65 | 6e 65 76 65 72 20 61 20 |ript whe|never a |
|00001590| 6d 65 73 73 61 67 65 20 | 77 69 74 68 20 61 20 75 |message |with a u|
|000015a0| 73 65 72 2d 64 65 66 69 | 6e 65 64 20 6e 61 6d 65 |ser-defi|ned name|
|000015b0| 20 69 73 20 74 61 72 67 | 65 74 65 64 20 74 6f 20 | is targ|eted to |
|000015c0| 61 20 72 65 6d 6f 74 65 | 20 61 70 70 6c 69 63 61 |a remote| applica|
|000015d0| 74 69 6f 6e 2e 20 49 74 | 73 20 65 76 65 6e 74 20 |tion. It|s event |
|000015e0| 63 6c 61 73 73 20 69 73 | 20 6b 41 53 41 70 70 6c |class is| kASAppl|
|000015f0| 65 53 63 72 69 70 74 53 | 75 69 74 65 20 28 27 61 |eScriptS|uite ('a|
|00001600| 73 63 72 27 29 20 61 6e | 64 20 65 76 65 6e 74 20 |scr') an|d event |
|00001610| 69 64 20 69 73 20 6b 41 | 53 53 75 62 72 6f 75 74 |id is kA|SSubrout|
|00001620| 69 6e 65 45 76 65 6e 74 | 20 28 27 70 73 62 72 27 |ineEvent| ('psbr'|
|00001630| 29 2e 20 54 68 65 20 75 | 73 65 72 2d 64 65 66 69 |). The u|ser-defi|
|00001640| 6e 65 64 20 65 76 65 6e | 74 20 6e 61 6d 65 20 69 |ned even|t name i|
|00001650| 73 20 73 65 6e 74 20 61 | 73 20 61 20 70 61 72 61 |s sent a|s a para|
|00001660| 6d 65 74 65 72 20 75 6e | 64 65 72 20 74 68 65 20 |meter un|der the |
|00001670| 6b 65 79 41 53 53 75 62 | 72 6f 75 74 69 6e 65 4e |keyASSub|routineN|
|00001680| 61 6d 65 20 28 27 73 6e | 61 6d 27 29 20 6b 65 79 |ame ('sn|am') key|
|00001690| 77 6f 72 64 20 61 73 20 | 74 79 70 65 43 68 61 72 |word as |typeChar|
|000016a0| 2e 20 28 54 68 65 73 65 | 20 63 6f 64 65 73 20 61 |. (These| codes a|
|000016b0| 72 65 20 64 65 66 69 6e | 65 64 20 69 6e 20 41 53 |re defin|ed in AS|
|000016c0| 52 65 67 69 73 74 72 79 | 2e 68 2f 70 2f 72 2e 29 |Registry|.h/p/r.)|
|000016d0| 0d 20 0d 49 66 20 74 68 | 65 20 75 73 65 72 2d 64 |. .If th|e user-d|
|000016e0| 65 66 69 6e 65 64 20 6d | 65 73 73 61 67 65 20 68 |efined m|essage h|
|000016f0| 61 73 20 70 6f 73 69 74 | 69 6f 6e 61 6c 20 70 61 |as posit|ional pa|
|00001700| 72 61 6d 65 74 65 72 73 | 20 28 65 2e 67 2e 20 27 |rameters| (e.g. '|
|00001710| 66 6f 6f 28 78 2c 79 2c | 7a 29 27 29 2c 20 74 68 |foo(x,y,|z)'), th|
|00001720| 65 6e 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |en the p|arameter|
|00001730| 73 20 61 72 65 20 70 6c | 61 63 65 64 20 69 6e 20 |s are pl|aced in |
|00001740| 61 20 6c 69 73 74 20 75 | 6e 64 65 72 20 74 68 65 |a list u|nder the|
|00001750| 20 6b 65 79 44 69 72 65 | 63 74 4f 62 6a 65 63 74 | keyDire|ctObject|
|00001760| 20 6b 65 79 77 6f 72 64 | 2e 20 49 66 20 74 68 65 | keyword|. If the|
|00001770| 20 6d 65 73 73 61 67 65 | 20 68 61 73 20 6b 65 79 | message| has key|
|00001780| 77 6f 72 64 20 28 70 72 | 65 70 6f 73 69 74 69 6f |word (pr|epositio|
|00001790| 6e 61 6c 29 20 70 61 72 | 61 6d 65 74 65 72 73 20 |nal) par|ameters |
|000017a0| 28 65 2e 67 2e 20 27 66 | 6f 6f 20 66 72 6f 6d 20 |(e.g. 'f|oo from |
|000017b0| 78 20 74 6f 20 79 27 29 | 2c 20 74 68 65 20 6b 65 |x to y')|, the ke|
|000017c0| 79 77 6f 72 64 2d 76 61 | 6c 75 65 20 70 61 69 72 |yword-va|lue pair|
|000017d0| 73 20 61 72 65 20 70 6c | 61 63 65 64 20 69 6e 20 |s are pl|aced in |
|000017e0| 74 68 65 20 41 70 70 6c | 65 45 76 65 6e 74 20 64 |the Appl|eEvent d|
|000017f0| 69 72 65 63 74 6c 79 2e | 20 54 68 69 73 20 70 72 |irectly.| This pr|
|00001800| 65 73 75 70 70 6f 73 65 | 73 20 74 68 61 74 20 74 |esuppose|s that t|
|00001810| 68 65 73 65 20 61 72 65 | 20 74 65 72 6d 69 6e 6f |hese are| termino|
|00001820| 6c 6f 67 79 2d 64 65 66 | 69 6e 65 64 20 6b 65 79 |logy-def|ined key|
|00001830| 77 6f 72 64 73 2c 20 61 | 6e 64 20 68 61 76 65 20 |words, a|nd have |
|00001840| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 34 2d |correspo|nding 4-|
|00001850| 63 68 61 72 20 63 6f 64 | 65 73 20 74 68 61 74 20 |char cod|es that |
|00001860| 63 61 6e 20 62 65 20 70 | 6c 61 63 65 64 20 69 6e |can be p|laced in|
|00001870| 20 74 68 65 20 41 70 70 | 6c 65 45 76 65 6e 74 2e | the App|leEvent.|
|00001880| 20 49 66 20 75 73 65 72 | 2d 64 65 66 69 6e 65 64 | If user|-defined|
|00001890| 20 6b 65 79 77 6f 72 64 | 73 20 6f 63 63 75 72 20 | keyword|s occur |
|000018a0| 69 6e 20 74 68 65 20 65 | 76 65 6e 74 20 28 69 6e |in the e|vent (in|
|000018b0| 20 41 53 20 74 68 69 73 | 20 63 61 6e 20 6f 63 63 | AS this| can occ|
|000018c0| 75 72 20 77 69 74 68 20 | 74 68 65 20 27 67 69 76 |ur with |the 'giv|
|000018d0| 65 6e 27 20 73 74 61 74 | 65 6d 65 6e 74 2c 20 65 |en' stat|ement, e|
|000018e0| 2e 67 2e 20 27 66 6f 6f | 20 67 69 76 65 6e 20 78 |.g. 'foo| given x|
|000018f0| 3a 33 27 20 2d 2d 20 68 | 65 72 65 20 27 78 27 20 |:3' -- h|ere 'x' |
|00001900| 69 73 20 61 20 75 73 65 | 72 2d 64 65 66 69 6e 65 |is a use|r-define|
|00001910| 64 20 6b 65 79 77 6f 72 | 64 29 20 74 68 65 73 65 |d keywor|d) these|
|00001920| 20 77 69 6c 6c 20 62 65 | 20 70 6c 61 63 65 64 20 | will be| placed |
|00001930| 69 6e 20 74 68 65 20 41 | 70 70 6c 65 45 76 65 6e |in the A|ppleEven|
|00001940| 74 20 75 6e 64 65 72 20 | 74 68 65 20 22 75 73 65 |t under |the "use|
|00001950| 72 2d 64 65 66 69 6e 65 | 64 20 66 69 65 6c 64 73 |r-define|d fields|
|00001960| 22 20 6b 65 79 77 6f 72 | 64 2c 20 64 65 73 63 72 |" keywor|d, descr|
|00001970| 69 62 65 64 20 62 65 6c | 6f 77 2e 0d 20 0d 55 73 |ibed bel|ow.. .Us|
|00001980| 65 72 2d 44 65 66 69 6e | 65 64 20 52 65 63 6f 72 |er-Defin|ed Recor|
|00001990| 64 20 46 69 65 6c 64 73 | 0d 20 0d 57 68 65 6e 65 |d Fields|. .Whene|
|000019a0| 76 65 72 20 61 20 72 65 | 63 6f 72 64 20 69 73 20 |ver a re|cord is |
|000019b0| 74 6f 20 62 65 20 73 65 | 6e 74 20 69 6e 20 61 6e |to be se|nt in an|
|000019c0| 20 41 70 70 6c 65 45 76 | 65 6e 74 2c 20 34 2d 63 | AppleEv|ent, 4-c|
|000019d0| 68 61 72 20 63 6f 64 65 | 73 20 6d 75 73 74 20 62 |har code|s must b|
|000019e0| 65 20 66 6f 75 6e 64 20 | 66 6f 72 20 65 61 63 68 |e found |for each|
|000019f0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 72 | corresp|onding r|
|00001a00| 65 63 6f 72 64 20 6c 61 | 62 65 6c 2e 20 49 6e 20 |ecord la|bel. In |
|00001a10| 74 68 65 20 63 61 73 65 | 20 77 68 65 72 65 20 74 |the case| where t|
|00001a20| 68 65 20 6c 61 62 65 6c | 73 20 61 72 65 20 75 73 |he label|s are us|
|00001a30| 65 72 2d 64 65 66 69 6e | 65 64 20 6e 61 6d 65 73 |er-defin|ed names|
|00001a40| 20 73 6f 6d 65 74 68 69 | 6e 67 20 73 70 65 63 69 | somethi|ng speci|
|00001a50| 61 6c 20 6d 75 73 74 20 | 62 65 20 64 6f 6e 65 2e |al must |be done.|
|00001a60| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 3a 0d 20 0d | For exa|mple:. .|
|00001a70| 7b 6e 61 6d 65 3a 22 66 | 72 65 64 22 2c 20 61 67 |{name:"f|red", ag|
|00001a80| 65 3a 33 32 2c 20 62 6f | 75 6e 64 73 3a 7b 33 2c |e:32, bo|unds:{3,|
|00001a90| 20 34 2c 20 35 2c 20 36 | 7d 2c 20 66 6f 6f 3a 32 | 4, 5, 6|}, foo:2|
|00001aa0| 33 34 7d 0d 20 0d 54 68 | 69 73 20 72 65 63 6f 72 |34}. .Th|is recor|
|00001ab0| 64 20 63 6f 6e 74 61 69 | 6e 73 20 34 20 6c 61 62 |d contai|ns 4 lab|
|00001ac0| 65 6c 73 2c 20 74 77 6f | 20 6f 66 20 77 68 69 63 |els, two| of whic|
|00001ad0| 68 20 61 72 65 20 74 65 | 72 6d 69 6e 6f 6c 6f 67 |h are te|rminolog|
|00001ae0| 79 2d 64 65 66 69 6e 65 | 64 20 28 27 6e 61 6d 65 |y-define|d ('name|
|00001af0| 27 20 61 6e 64 20 27 62 | 6f 75 6e 64 73 27 29 20 |' and 'b|ounds') |
|00001b00| 61 6e 64 20 6f 6e 65 20 | 6f 66 20 77 68 69 63 68 |and one |of which|
|00001b10| 20 69 73 20 75 73 65 72 | 2d 64 65 66 69 6e 65 64 | is user|-defined|
|00001b20| 20 28 27 61 67 65 27 20 | 61 6e 64 20 27 66 6f 6f | ('age' |and 'foo|
|00001b30| 27 20 2d 2d 20 61 73 73 | 75 6d 69 6e 67 20 74 68 |' -- ass|uming th|
|00001b40| 61 74 20 74 68 65 20 61 | 70 70 20 77 65 27 72 65 |at the a|pp we're|
|00001b50| 20 74 61 6c 6b 69 6e 67 | 20 74 6f 20 64 6f 65 73 | talking| to does|
|00001b60| 6e 27 74 20 64 65 66 69 | 6e 65 20 74 68 65 73 65 |n't defi|ne these|
|00001b70| 29 2e 20 27 4e 61 6d 65 | 27 20 61 6e 64 20 27 62 |). 'Name|' and 'b|
|00001b80| 6f 75 6e 64 73 27 20 68 | 61 76 65 20 34 2d 63 68 |ounds' h|ave 4-ch|
|00001b90| 61 72 20 63 6f 64 65 73 | 20 28 27 70 6e 61 6d 27 |ar codes| ('pnam'|
|00001ba0| 20 61 6e 64 20 27 70 62 | 6e 64 27 29 2c 20 77 68 | and 'pb|nd'), wh|
|00001bb0| 65 72 65 61 73 20 74 68 | 65 20 6f 74 68 65 72 73 |ereas th|e others|
|00001bc0| 20 64 6f 6e 27 74 2e 0d | 20 0d 46 6f 72 20 74 68 | don't..| .For th|
|00001bd0| 69 73 20 72 65 63 6f 72 | 64 2c 20 41 53 20 63 6f |is recor|d, AS co|
|00001be0| 6e 73 74 72 75 63 74 73 | 20 61 6e 20 41 70 70 6c |nstructs| an Appl|
|00001bf0| 65 45 76 65 6e 74 20 72 | 65 63 6f 72 64 20 74 68 |eEvent r|ecord th|
|00001c00| 61 74 20 6c 6f 6f 6b 73 | 20 6c 69 6b 65 20 74 68 |at looks| like th|
|00001c10| 69 73 3a 0d 20 0d 20 20 | 7b 27 70 6e 61 6d 27 3a |is:. . |{'pnam':|
|00001c20| 22 66 72 65 64 22 2c 20 | 27 70 62 6e 64 27 3a 7b |"fred", |'pbnd':{|
|00001c30| 33 2c 34 2c 35 2c 36 7d | 2c 20 27 75 73 72 66 27 |3,4,5,6}|, 'usrf'|
|00001c40| 3a 7b 22 61 67 65 22 2c | 20 33 32 2c 20 22 66 6f |:{"age",| 32, "fo|
|00001c50| 6f 22 2c 20 32 33 34 7d | 7d 0d 20 0d 28 65 78 63 |o", 234}|}. .(exc|
|00001c60| 75 73 65 20 6d 79 20 6e | 6f 74 61 74 69 6f 6e 29 |use my n|otation)|
|00001c70| 20 77 68 65 72 65 20 27 | 75 73 72 66 27 20 69 73 | where '|usrf' is|
|00001c80| 20 6b 65 79 41 53 55 73 | 65 72 52 65 63 6f 72 64 | keyASUs|erRecord|
|00001c90| 46 69 65 6c 64 73 20 28 | 64 65 66 69 6e 65 64 20 |Fields (|defined |
|00001ca0| 69 6e 20 41 53 52 65 67 | 69 73 74 72 79 2e 68 2f |in ASReg|istry.h/|
|00001cb0| 70 2f 72 29 2e 20 54 68 | 69 73 20 6b 65 79 77 6f |p/r). Th|is keywo|
|00001cc0| 72 64 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 6c 69 |rd conta|ins a li|
|00001cd0| 73 74 20 6f 66 20 61 6c | 74 65 72 6e 61 74 69 6e |st of al|ternatin|
|00001ce0| 67 20 75 73 65 72 2d 64 | 65 66 69 6e 65 64 20 6b |g user-d|efined k|
|00001cf0| 65 79 77 6f 72 64 2f 76 | 61 6c 75 65 20 70 61 69 |eyword/v|alue pai|
|00001d00| 72 73 2c 20 77 68 65 72 | 65 20 74 68 65 20 75 73 |rs, wher|e the us|
|00001d10| 65 72 2d 64 65 66 69 6e | 65 64 20 6b 65 79 77 6f |er-defin|ed keywo|
|00001d20| 72 64 73 20 61 70 70 65 | 61 72 20 61 73 20 73 74 |rds appe|ar as st|
|00001d30| 72 69 6e 67 73 2e 0d 20 | 0d 4e 6f 74 65 20 74 68 |rings.. |.Note th|
|00001d40| 61 74 20 69 74 20 69 73 | 20 75 70 20 74 6f 20 61 |at it is| up to a|
|00001d50| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 74 6f 20 68 |pplicati|ons to h|
|00001d60| 61 6e 64 6c 65 20 6b 65 | 79 41 53 55 73 65 72 52 |andle ke|yASUserR|
|00001d70| 65 63 6f 72 64 46 69 65 | 6c 64 73 20 73 70 65 63 |ecordFie|lds spec|
|00001d80| 69 61 6c 6c 79 20 69 66 | 20 74 68 65 79 20 77 69 |ially if| they wi|
|00001d90| 73 68 20 74 6f 20 72 65 | 63 65 69 76 65 20 61 72 |sh to re|ceive ar|
|00001da0| 62 69 74 72 61 72 79 20 | 72 65 63 6f 72 64 73 2e |bitrary |records.|
|00001db0| 20 54 68 65 79 20 73 68 | 6f 75 6c 64 20 6e 6f 74 | They sh|ould not|
|00001dc0| 20 73 69 6d 70 6c 79 20 | 70 61 73 73 20 74 68 65 | simply |pass the|
|00001dd0| 20 76 61 6c 75 65 20 6f | 66 20 74 68 65 20 6b 65 | value o|f the ke|
|00001de0| 79 41 53 55 73 65 72 52 | 65 63 6f 72 64 46 69 65 |yASUserR|ecordFie|
|00001df0| 6c 64 73 20 6b 65 79 77 | 6f 72 64 20 6f 6e 20 74 |lds keyw|ord on t|
|00001e00| 6f 20 74 68 65 20 70 72 | 6f 67 72 61 6d 2e 20 41 |o the pr|ogram. A|
|00001e10| 53 20 77 69 6c 6c 20 64 | 65 63 6f 64 65 20 74 68 |S will d|ecode th|
|00001e20| 69 73 20 66 6f 72 6d 20 | 6f 66 20 72 65 63 6f 72 |is form |of recor|
|00001e30| 64 73 20 70 72 6f 70 65 | 72 6c 79 2c 20 73 6f 20 |ds prope|rly, so |
|00001e40| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |you don'|t have t|
|00001e50| 6f 20 77 6f 72 72 79 20 | 61 62 6f 75 74 20 68 61 |o worry |about ha|
|00001e60| 6e 64 69 6e 67 20 74 68 | 65 6d 20 74 6f 20 45 78 |nding th|em to Ex|
|00001e70| 65 63 75 74 65 45 76 65 | 6e 74 2c 20 43 6f 65 72 |ecuteEve|nt, Coer|
|00001e80| 63 65 46 72 6f 6d 44 65 | 73 63 2c 20 65 74 63 2e |ceFromDe|sc, etc.|
|00001e90| 20 49 74 20 77 69 6c 6c | 20 68 6f 77 65 76 65 72 | It will| however|
|00001ea0| 20 6c 6f 73 65 20 74 68 | 65 20 6f 72 69 67 69 6e | lose th|e origin|
|00001eb0| 61 6c 20 6f 72 64 65 72 | 69 6e 67 20 6f 66 20 74 |al order|ing of t|
|00001ec0| 68 65 20 6c 61 62 65 6c | 73 3a 0d 20 0d 7b 6e 61 |he label|s:. .{na|
|00001ed0| 6d 65 3a 22 66 72 65 64 | 22 2c 20 62 6f 75 6e 64 |me:"fred|", bound|
|00001ee0| 73 3a 7b 33 2c 20 34 2c | 20 35 2c 20 36 7d 2c 20 |s:{3, 4,| 5, 6}, |
|00001ef0| 61 67 65 3a 33 32 2c 20 | 66 6f 6f 3a 32 33 34 7d |age:32, |foo:234}|
|00001f00| 0d 20 0d 53 63 72 69 70 | 74 20 77 72 69 74 65 72 |. .Scrip|t writer|
|00001f10| 73 20 73 68 6f 75 6c 64 | 20 6e 65 76 65 72 20 64 |s should| never d|
|00001f20| 65 70 65 6e 64 20 6f 6e | 20 74 68 65 20 69 6e 63 |epend on| the inc|
|00001f30| 69 64 65 6e 74 61 6c 20 | 6f 72 64 65 72 69 6e 67 |idental |ordering|
|00001f40| 20 6f 66 20 72 65 63 6f | 72 64 20 65 6c 65 6d 65 | of reco|rd eleme|
|00001f50| 6e 74 73 2e 0d 20 0d 41 | 6c 6c 20 6f 66 20 74 68 |nts.. .A|ll of th|
|00001f60| 69 73 20 6f 66 20 63 6f | 75 72 73 65 20 61 70 70 |is of co|urse app|
|00001f70| 6c 69 65 73 20 74 6f 20 | 70 61 72 61 6d 65 74 65 |lies to |paramete|
|00001f80| 72 73 20 6f 66 20 6d 65 | 73 73 61 67 65 73 20 74 |rs of me|ssages t|
|00001f90| 6f 6f 2e 20 49 6e 20 41 | 53 2c 20 75 73 65 72 2d |oo. In A|S, user-|
|00001fa0| 64 65 66 69 6e 65 64 20 | 70 61 72 61 6d 65 74 65 |defined |paramete|
|00001fb0| 72 20 6c 61 62 65 6c 73 | 20 28 6b 65 79 77 6f 72 |r labels| (keywor|
|00001fc0| 64 73 29 20 6f 63 63 75 | 72 20 61 66 74 65 72 20 |ds) occu|r after |
|00001fd0| 74 68 65 20 27 67 69 76 | 65 6e 27 20 73 74 61 74 |the 'giv|en' stat|
|00001fe0| 65 6d 65 6e 74 20 69 6e | 20 74 68 65 20 61 72 67 |ement in| the arg|
|00001ff0| 75 6d 65 6e 74 20 6c 69 | 73 74 3a 0d 20 0d 66 72 |ument li|st:. .fr|
|00002000| 6f 62 20 66 72 6f 6d 20 | 22 66 72 65 64 22 20 74 |ob from |"fred" t|
|00002010| 6f 20 7b 33 2c 20 34 2c | 20 35 2c 20 36 7d 20 67 |o {3, 4,| 5, 6} g|
|00002020| 69 76 65 6e 20 61 67 65 | 3a 33 32 2c 20 66 6f 6f |iven age|:32, foo|
|00002030| 3a 32 33 34 0d 20 0d 54 | 68 69 73 20 77 69 6c 6c |:234. .T|his will|
|00002040| 20 67 65 6e 65 72 61 74 | 65 20 61 20 73 75 62 72 | generat|e a subr|
|00002050| 6f 75 74 69 6e 65 20 41 | 70 70 6c 65 45 76 65 6e |outine A|ppleEven|
|00002060| 74 20 77 69 74 68 20 6e | 61 6d 65 20 22 66 72 6f |t with n|ame "fro|
|00002070| 62 22 2c 20 72 65 67 75 | 6c 61 72 20 70 61 72 61 |b", regu|lar para|
|00002080| 6d 65 74 65 72 73 20 66 | 6f 72 20 27 66 72 6f 6d |meters f|or 'from|
|00002090| 27 20 61 6e 64 20 27 74 | 6f 27 2c 20 61 6e 64 20 |' and 't|o', and |
|000020a0| 61 20 6b 65 79 41 53 55 | 73 65 72 52 65 63 6f 72 |a keyASU|serRecor|
|000020b0| 64 46 69 65 6c 64 73 20 | 70 61 72 61 6d 65 74 65 |dFields |paramete|
|000020c0| 72 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 27 7b 22 |r contai|ning '{"|
|000020d0| 61 67 65 22 2c 20 33 32 | 2c 20 22 66 6f 6f 22 2c |age", 32|, "foo",|
|000020e0| 20 32 33 34 7d 27 2e 0d | 20 0d 4e 61 6d 65 20 43 | 234}'..| .Name C|
|000020f0| 61 6e 6f 6e 69 66 69 63 | 61 74 69 6f 6e 0d 0d 54 |anonific|ation..T|
|00002100| 68 65 20 6e 61 6d 65 73 | 20 75 73 65 64 20 69 6e |he names| used in|
|00002110| 20 73 75 62 72 6f 75 74 | 69 6e 65 20 65 76 65 6e | subrout|ine even|
|00002120| 74 73 20 61 6e 64 20 75 | 73 65 72 2d 64 65 66 69 |ts and u|ser-defi|
|00002130| 6e 65 64 20 72 65 63 6f | 72 64 20 66 69 65 6c 64 |ned reco|rd field|
|00002140| 73 20 6d 75 73 74 20 62 | 65 20 69 6e 20 63 61 6e |s must b|e in can|
|00002150| 6f 6e 69 63 61 6c 20 66 | 6f 72 6d 2e 20 54 68 69 |onical f|orm. Thi|
|00002160| 73 20 6d 65 61 6e 73 20 | 74 68 61 74 20 77 68 65 |s means |that whe|
|00002170| 6e 20 61 20 6e 61 6d 65 | 20 69 73 20 65 78 74 72 |n a name| is extr|
|00002180| 61 63 74 65 64 20 66 72 | 6f 6d 20 61 6e 20 41 70 |acted fr|om an Ap|
|00002190| 70 6c 65 45 76 65 6e 74 | 2c 20 69 74 20 6d 75 73 |pleEvent|, it mus|
|000021a0| 74 20 62 65 20 61 6c 72 | 65 61 64 79 20 69 6e 20 |t be alr|eady in |
|000021b0| 74 68 65 20 73 69 6d 70 | 6c 69 73 74 2c 20 64 69 |the simp|list, di|
|000021c0| 61 6c 65 63 74 2d 69 6e | 64 65 70 65 6e 64 65 6e |alect-in|dependen|
|000021d0| 74 20 66 6f 72 6d 20 70 | 6f 73 73 69 62 6c 65 2e |t form p|ossible.|
|000021e0| 20 0d 0d 43 61 6e 6f 6e | 69 66 69 63 61 74 69 6f | ..Canon|ificatio|
|000021f0| 6e 20 6f 63 63 75 72 73 | 20 69 6e 20 41 70 70 6c |n occurs| in Appl|
|00002200| 65 53 63 72 69 70 74 20 | 77 68 65 6e 20 61 20 73 |eScript |when a s|
|00002210| 63 72 69 70 74 20 69 73 | 20 70 61 72 73 65 64 20 |cript is| parsed |
|00002220| 61 6e 64 20 73 79 6d 62 | 6f 6c 73 20 61 72 65 20 |and symb|ols are |
|00002230| 61 64 64 65 64 20 69 6e | 74 6f 20 41 70 70 6c 65 |added in|to Apple|
|00002240| 53 63 72 69 70 74 27 73 | 20 73 79 6d 62 6f 6c 2d |Script's| symbol-|
|00002250| 74 61 62 6c 65 2e 20 54 | 68 69 73 20 70 72 6f 63 |table. T|his proc|
|00002260| 65 73 73 20 64 65 70 65 | 6e 64 73 20 6f 6e 20 74 |ess depe|nds on t|
|00002270| 68 65 20 64 69 61 6c 65 | 63 74 20 62 65 69 6e 67 |he diale|ct being|
|00002280| 20 70 61 72 73 65 64 2e | 20 46 6f 72 20 65 78 61 | parsed.| For exa|
|00002290| 6d 70 6c 65 2c 20 73 6f | 6d 65 20 64 69 61 6c 65 |mple, so|me diale|
|000022a0| 63 74 73 20 63 6f 6e 73 | 69 64 65 72 20 64 69 61 |cts cons|ider dia|
|000022b0| 63 72 69 74 69 63 61 6c | 20 6d 61 72 6b 73 20 74 |critical| marks t|
|000022c0| 6f 20 62 65 20 69 6d 70 | 6f 72 74 61 6e 74 20 69 |o be imp|ortant i|
|000022d0| 6e 20 64 65 74 65 72 6d | 69 6e 69 6e 67 20 77 68 |n determ|ining wh|
|000022e0| 65 74 68 65 72 20 74 77 | 6f 20 6e 61 6d 65 73 20 |ether tw|o names |
|000022f0| 61 72 65 20 69 64 65 6e | 74 69 63 61 6c 2e 20 46 |are iden|tical. F|
|00002300| 6f 72 20 6d 6f 73 74 20 | 64 69 61 6c 65 63 74 73 |or most |dialects|
|00002310| 20 28 65 2e 67 2e 20 52 | 6f 6d 61 6e 20 73 63 72 | (e.g. R|oman scr|
|00002320| 69 70 74 20 64 69 61 6c | 65 63 74 73 20 73 75 63 |ipt dial|ects suc|
|00002330| 68 20 61 73 20 45 6e 67 | 6c 69 73 68 20 61 6e 64 |h as Eng|lish and|
|00002340| 20 46 72 65 6e 63 68 29 | 20 63 61 73 65 20 69 73 | French)| case is|
|00002350| 20 6e 6f 74 20 63 6f 6e | 73 69 64 65 72 65 64 20 | not con|sidered |
|00002360| 74 6f 20 6d 61 74 74 65 | 72 2c 20 62 75 74 20 66 |to matte|r, but f|
|00002370| 6f 72 20 74 77 6f 2d 62 | 79 74 65 20 64 69 61 6c |or two-b|yte dial|
|00002380| 65 63 74 73 20 6c 69 6b | 65 20 4a 61 70 61 6e 65 |ects lik|e Japane|
|00002390| 73 65 2c 20 63 61 73 65 | 20 64 6f 65 73 20 6d 61 |se, case| does ma|
|000023a0| 74 74 65 72 20 62 65 63 | 61 75 73 65 20 6f 66 20 |tter bec|ause of |
|000023b0| 74 68 65 20 77 61 79 20 | 4b 61 6e 6a 69 20 63 68 |the way |Kanji ch|
|000023c0| 61 72 61 63 74 65 72 73 | 20 61 72 65 20 72 65 70 |aracters| are rep|
|000023d0| 72 65 73 65 6e 74 65 64 | 2e 0d 0d 57 68 65 6e 20 |resented|...When |
|000023e0| 6e 61 6d 65 73 20 74 72 | 61 6e 73 6d 69 74 74 65 |names tr|ansmitte|
|000023f0| 64 20 69 6e 20 41 70 70 | 6c 65 45 76 65 6e 74 73 |d in App|leEvents|
|00002400| 20 61 72 65 20 72 65 63 | 65 69 76 65 64 20 62 79 | are rec|eived by|
|00002410| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2c 20 63 61 | AppleSc|ript, ca|
|00002420| 6e 6f 6e 69 66 69 63 61 | 74 69 6f 6e 20 69 73 20 |nonifica|tion is |
|00002430| 6e 6f 74 20 70 65 72 66 | 6f 72 6d 65 64 2e 20 54 |not perf|ormed. T|
|00002440| 68 69 73 20 69 73 20 62 | 65 63 61 75 73 65 20 74 |his is b|ecause t|
|00002450| 68 65 20 41 70 70 6c 65 | 45 76 65 6e 74 20 65 78 |he Apple|Event ex|
|00002460| 63 68 61 6e 67 65 20 6f | 66 20 69 6e 66 6f 72 6d |change o|f inform|
|00002470| 61 74 69 6f 6e 20 69 73 | 20 64 69 61 6c 65 63 74 |ation is| dialect|
|00002480| 20 69 6e 64 65 70 65 6e | 64 65 6e 74 2e 20 4e 61 | indepen|dent. Na|
|00002490| 6d 65 73 20 61 72 65 20 | 61 73 73 75 6d 65 64 20 |mes are |assumed |
|000024a0| 74 6f 20 62 65 20 61 6c | 72 65 61 64 79 20 63 61 |to be al|ready ca|
|000024b0| 6e 6f 6e 69 66 69 65 64 | 20 64 75 72 69 6e 67 20 |nonified| during |
|000024c0| 74 68 65 20 70 61 72 73 | 69 6e 67 2f 63 6f 6d 70 |the pars|ing/comp|
|000024d0| 69 6c 61 74 69 6f 6e 20 | 70 72 6f 63 65 73 73 2c |ilation |process,|
|000024e0| 20 61 6e 64 20 69 66 20 | 73 65 6e 74 20 62 79 20 | and if |sent by |
|000024f0| 41 70 70 6c 65 53 63 72 | 69 70 74 2c 20 73 65 6e |AppleScr|ipt, sen|
|00002500| 74 20 69 6e 20 61 6e 20 | 61 6c 72 65 61 64 79 20 |t in an |already |
|00002510| 63 61 6e 6f 6e 69 66 69 | 65 64 20 66 6f 72 6d 2e |canonifi|ed form.|
|00002520| 0d 0d 46 6f 72 20 61 70 | 70 6c 69 63 61 74 69 6f |..For ap|plicatio|
|00002530| 6e 73 20 61 6e 64 20 6f | 74 68 65 72 20 73 63 72 |ns and o|ther scr|
|00002540| 69 70 74 69 6e 67 20 63 | 6f 6d 70 6f 6e 65 6e 74 |ipting c|omponent|
|00002550| 73 20 74 68 61 74 20 77 | 69 73 68 20 74 6f 20 74 |s that w|ish to t|
|00002560| 72 61 6e 73 6d 69 74 20 | 61 6e 64 20 72 65 63 65 |ransmit |and rece|
|00002570| 69 76 65 20 73 75 62 72 | 6f 75 74 69 6e 65 20 65 |ive subr|outine e|
|00002580| 76 65 6e 74 73 20 61 6e | 64 20 75 73 65 72 2d 64 |vents an|d user-d|
|00002590| 65 66 69 6e 65 64 20 72 | 65 63 6f 72 64 20 66 69 |efined r|ecord fi|
|000025a0| 65 6c 64 73 2c 20 61 20 | 73 69 6d 69 6c 61 72 20 |elds, a |similar |
|000025b0| 63 61 6e 6f 6e 69 66 69 | 63 61 74 69 6f 6e 20 6d |canonifi|cation m|
|000025c0| 75 73 74 20 62 65 20 70 | 65 72 66 6f 72 6d 65 64 |ust be p|erformed|
|000025d0| 20 74 6f 20 74 68 61 74 | 20 64 6f 6e 65 20 62 79 | to that| done by|
|000025e0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2e 20 46 6f | AppleSc|ript. Fo|
|000025f0| 72 20 74 68 65 20 45 6e | 67 6c 69 73 68 20 64 69 |r the En|glish di|
|00002600| 61 6c 65 63 74 20 6f 66 | 20 41 70 70 6c 65 53 63 |alect of| AppleSc|
|00002610| 72 69 70 74 2c 20 6e 61 | 6d 65 73 20 6d 75 73 74 |ript, na|mes must|
|00002620| 20 62 65 20 73 65 6e 74 | 20 69 6e 20 6c 6f 77 65 | be sent| in lowe|
|00002630| 72 63 61 73 65 2c 20 61 | 6e 64 20 62 65 20 64 69 |rcase, a|nd be di|
|00002640| 61 63 72 69 74 69 63 61 | 6c 20 66 72 65 65 20 28 |acritica|l free (|
|00002650| 6f 72 20 74 68 65 20 62 | 75 72 64 65 6e 20 6d 75 |or the b|urden mu|
|00002660| 73 74 20 62 65 20 70 6c | 61 63 65 64 20 6f 6e 20 |st be pl|aced on |
|00002670| 74 68 65 20 75 73 65 72 | 20 74 6f 20 74 79 70 65 |the user| to type|
|00002680| 20 69 6e 20 6e 61 6d 65 | 73 20 77 69 74 68 20 74 | in name|s with t|
|00002690| 68 65 20 65 78 61 63 74 | 20 63 61 73 65 20 61 6e |he exact| case an|
|000026a0| 64 20 64 69 61 63 72 69 | 74 69 63 61 6c 20 6d 61 |d diacri|tical ma|
|000026b0| 72 6b 73 29 2e 0d 0d 54 | 68 65 20 53 75 62 6a 65 |rks)...T|he Subje|
|000026c0| 63 74 20 41 74 74 72 69 | 62 75 74 65 0d 20 0d 49 |ct Attri|bute. .I|
|000026d0| 6e 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 31 2e |n AppleS|cript 1.|
|000026e0| 31 2c 20 77 65 27 76 65 | 20 70 75 74 20 61 6e 20 |1, we've| put an |
|000026f0| 73 6f 6c 75 74 69 6f 6e | 20 69 6e 20 66 6f 72 20 |solution| in for |
|00002700| 74 68 65 20 70 72 6f 62 | 6c 65 6d 20 6f 66 20 65 |the prob|lem of e|
|00002710| 76 65 6e 74 73 20 74 68 | 61 74 20 64 6f 6e 27 74 |vents th|at don't|
|00002720| 20 68 61 76 65 20 6f 62 | 6a 65 63 74 20 73 70 65 | have ob|ject spe|
|00002730| 63 69 66 69 65 72 73 20 | 61 73 20 64 69 72 65 63 |cifiers |as direc|
|00002740| 74 20 6f 62 6a 65 63 74 | 73 2e 20 4f 66 74 65 6e |t object|s. Often|
|00002750| 20 74 69 6d 65 73 20 69 | 74 20 69 73 20 6e 65 63 | times i|t is nec|
|00002760| 65 73 73 61 72 79 20 74 | 6f 20 73 74 69 6c 6c 20 |essary t|o still |
|00002770| 6b 6e 6f 77 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |know the| object |
|00002780| 74 6f 20 77 68 69 63 68 | 20 61 6e 20 65 76 65 6e |to which| an even|
|00002790| 74 20 77 61 73 20 73 65 | 6e 74 2c 20 65 76 65 6e |t was se|nt, even|
|000027a0| 20 74 68 6f 75 67 68 20 | 74 68 65 20 64 69 72 65 | though |the dire|
|000027b0| 63 74 20 6f 62 6a 65 63 | 74 20 6f 66 20 74 68 65 |ct objec|t of the|
|000027c0| 20 65 76 65 6e 74 20 69 | 73 20 73 6f 6d 65 20 64 | event i|s some d|
|000027d0| 61 74 61 20 74 6f 20 6f | 70 65 72 61 74 65 20 6f |ata to o|perate o|
|000027e0| 6e 2c 20 72 61 74 68 65 | 72 20 74 68 61 6e 20 74 |n, rathe|r than t|
|000027f0| 68 65 20 6f 62 6a 65 63 | 74 20 73 70 65 63 69 66 |he objec|t specif|
|00002800| 69 65 72 20 66 6f 72 20 | 74 68 61 74 20 6f 62 6a |ier for |that obj|
|00002810| 65 63 74 2e 20 54 68 69 | 73 20 69 6e 63 6c 75 64 |ect. Thi|s includ|
|00002820| 65 73 20 65 76 65 6e 74 | 73 20 6c 69 6b 65 20 27 |es event|s like '|
|00002830| 6f 70 65 6e 27 2c 20 27 | 63 6f 75 6e 74 27 20 6f |open', '|count' o|
|00002840| 72 20 27 62 65 65 70 27 | 2e 0d 20 0d 4c 65 74 27 |r 'beep'|.. .Let'|
|00002850| 73 20 73 61 79 20 79 6f | 75 20 68 61 76 65 20 74 |s say yo|u have t|
|00002860| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 41 53 20 |he follo|wing AS |
|00002870| 73 74 61 74 65 6d 65 6e | 74 3a 0d 20 0d 74 65 6c |statemen|t:. .tel|
|00002880| 6c 20 77 69 6e 64 6f 77 | 20 31 20 74 6f 20 62 65 |l window| 1 to be|
|00002890| 65 70 20 33 0d 20 0d 41 | 70 70 6c 65 53 63 72 69 |ep 3. .A|ppleScri|
|000028a0| 70 74 20 31 2e 31 20 77 | 69 6c 6c 20 61 64 64 20 |pt 1.1 w|ill add |
|000028b0| 61 20 6b 65 79 53 75 62 | 6a 65 63 74 41 74 74 72 |a keySub|jectAttr|
|000028c0| 20 28 27 73 75 62 6a 27 | 29 20 61 74 74 72 69 62 | ('subj'|) attrib|
|000028d0| 75 74 65 20 28 6e 6f 74 | 20 70 61 72 61 6d 65 74 |ute (not| paramet|
|000028e0| 65 72 29 20 74 6f 20 74 | 68 65 20 27 62 65 65 70 |er) to t|he 'beep|
|000028f0| 27 20 41 70 70 6c 65 45 | 76 65 6e 74 20 74 68 61 |' AppleE|vent tha|
|00002900| 74 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 6f |t contai|ns the o|
|00002910| 62 6a 65 63 74 20 73 70 | 65 63 69 66 69 65 72 20 |bject sp|ecifier |
|00002920| 27 77 69 6e 64 6f 77 20 | 31 27 2c 20 61 73 20 77 |'window |1', as w|
|00002930| 65 6c 6c 20 61 73 20 74 | 68 65 20 6b 65 79 44 69 |ell as t|he keyDi|
|00002940| 72 65 63 74 4f 62 6a 65 | 63 74 20 70 61 72 61 6d |rectObje|ct param|
|00002950| 65 74 65 72 20 77 69 74 | 68 20 76 61 6c 75 65 20 |eter wit|h value |
|00002960| 33 2e 0d 20 0d 46 6f 72 | 20 61 70 70 6c 69 63 61 |3.. .For| applica|
|00002970| 74 69 6f 6e 73 20 74 68 | 61 74 20 63 61 72 65 20 |tions th|at care |
|00002980| 61 62 6f 75 74 20 74 68 | 69 73 20 28 70 72 65 73 |about th|is (pres|
|00002990| 75 6d 61 62 6c 79 20 62 | 65 63 61 75 73 65 20 74 |umably b|ecause t|
|000029a0| 68 65 79 20 68 61 76 65 | 20 73 63 72 69 70 74 73 |hey have| scripts|
|000029b0| 20 61 74 74 61 63 68 65 | 64 20 74 6f 20 6f 62 6a | attache|d to obj|
|000029c0| 65 63 74 73 20 6c 69 6b | 65 20 27 77 69 6e 64 6f |ects lik|e 'windo|
|000029d0| 77 20 31 27 20 74 68 61 | 74 20 74 68 65 79 20 77 |w 1' tha|t they w|
|000029e0| 61 6e 74 20 74 6f 20 72 | 75 6e 20 77 69 74 68 20 |ant to r|un with |
|000029f0| 45 78 65 63 75 74 65 45 | 76 65 6e 74 29 2c 20 74 |ExecuteE|vent), t|
|00002a00| 68 65 79 20 73 68 6f 75 | 6c 64 20 75 73 65 20 74 |hey shou|ld use t|
|00002a10| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 70 72 6f |he follo|wing pro|
|00002a20| 63 65 64 75 72 65 3a 20 | 46 69 72 73 74 20 63 68 |cedure: |First ch|
|00002a30| 65 63 6b 20 66 6f 72 20 | 74 68 65 20 6b 65 79 44 |eck for |the keyD|
|00002a40| 69 72 65 63 74 4f 62 6a | 65 63 74 20 70 61 72 61 |irectObj|ect para|
|00002a50| 6d 65 74 65 72 2e 20 49 | 66 20 69 74 20 69 73 20 |meter. I|f it is |
|00002a60| 61 6e 20 6f 62 6a 65 63 | 74 20 73 70 65 63 69 66 |an objec|t specif|
|00002a70| 69 65 72 2c 20 75 73 65 | 20 69 74 20 74 6f 20 64 |ier, use| it to d|
|00002a80| 69 73 70 61 74 63 68 20 | 74 68 65 20 6d 65 73 73 |ispatch |the mess|
|00002a90| 61 67 65 2e 20 4f 74 68 | 65 72 77 69 73 65 2c 20 |age. Oth|erwise, |
|00002aa0| 6c 6f 6f 6b 20 66 6f 72 | 20 74 68 65 20 6b 65 79 |look for| the key|
|00002ab0| 53 75 62 6a 65 63 74 41 | 74 74 72 20 61 74 74 72 |SubjectA|ttr attr|
|00002ac0| 69 62 75 74 65 20 77 68 | 69 63 68 20 77 69 6c 6c |ibute wh|ich will|
|00002ad0| 20 62 65 20 61 6e 20 6f | 62 6a 65 63 74 20 73 70 | be an o|bject sp|
|00002ae0| 65 63 69 66 69 65 72 2c | 20 61 6e 64 20 75 73 65 |ecifier,| and use|
|00002af0| 20 74 68 61 74 20 69 6e | 73 74 65 61 64 2e 0d 0d | that in|stead...|
|00002b00| a5 20 48 6f 77 20 74 6f | 20 41 6c 77 61 79 73 20 |. How to| Always |
|00002b10| 52 65 63 65 69 76 65 20 | 61 20 53 75 62 6a 65 63 |Receive |a Subjec|
|00002b20| 74 20 41 74 74 72 69 62 | 75 74 65 3a 20 53 6f 6d |t Attrib|ute: Som|
|00002b30| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 6d |e applic|ations m|
|00002b40| 61 79 20 77 69 73 68 20 | 74 6f 20 67 69 76 65 20 |ay wish |to give |
|00002b50| 74 68 65 20 75 73 65 72 | 20 6d 6f 72 65 20 63 6f |the user| more co|
|00002b60| 6e 74 72 6f 6c 20 6f 76 | 65 72 20 77 68 69 63 68 |ntrol ov|er which|
|00002b70| 20 6f 62 6a 65 63 74 27 | 73 20 68 61 6e 64 6c 65 | object'|s handle|
|00002b80| 72 73 20 61 72 65 20 75 | 73 65 64 20 77 68 65 6e |rs are u|sed when|
|00002b90| 20 61 6e 20 65 76 65 6e | 74 20 69 73 20 70 72 6f | an even|t is pro|
|00002ba0| 63 65 73 73 65 64 2e 20 | 52 65 67 61 72 64 6c 65 |cessed. |Regardle|
|00002bb0| 73 73 20 77 68 61 74 20 | 74 68 65 20 64 69 72 65 |ss what |the dire|
|00002bc0| 63 74 20 6f 62 6a 65 63 | 74 20 6f 66 20 74 68 65 |ct objec|t of the|
|00002bd0| 20 65 76 65 6e 74 20 69 | 73 2c 20 74 68 65 73 65 | event i|s, these|
|00002be0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 77 61 | applica|tions wa|
|00002bf0| 6e 74 20 74 68 65 20 74 | 61 72 67 65 74 65 64 20 |nt the t|argeted |
|00002c00| 6f 62 6a 65 63 74 20 28 | 66 72 6f 6d 20 74 68 65 |object (|from the|
|00002c10| 20 27 74 65 6c 6c 27 20 | 73 74 61 74 65 6d 65 6e | 'tell' |statemen|
|00002c20| 74 29 20 74 6f 20 61 6c | 77 61 79 73 20 68 61 6e |t) to al|ways han|
|00002c30| 64 6c 65 20 74 68 65 20 | 6d 65 73 73 61 67 65 2e |dle the |message.|
|00002c40| 20 48 79 70 65 72 43 61 | 72 64 20 69 73 20 61 6e | HyperCa|rd is an|
|00002c50| 20 65 78 61 6d 70 6c 65 | 20 6f 66 20 61 6e 20 61 | example| of an a|
|00002c60| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6f 66 20 74 68 |pplicati|on of th|
|00002c70| 69 73 20 73 6f 72 74 3a | 0d 0d 74 65 6c 6c 20 61 |is sort:|..tell a|
|00002c80| 70 70 6c 69 63 61 74 69 | 6f 6e 20 22 48 79 70 65 |pplicati|on "Hype|
|00002c90| 72 43 61 72 64 22 0d 09 | 74 65 6c 6c 20 63 61 72 |rCard"..|tell car|
|00002ca0| 64 20 31 0d 09 09 64 65 | 6c 65 74 65 20 62 75 74 |d 1...de|lete but|
|00002cb0| 74 6f 6e 20 31 20 6f 66 | 20 63 61 72 64 20 32 0d |ton 1 of| card 2.|
|00002cc0| 09 65 6e 64 20 74 65 6c | 6c 0d 65 6e 64 20 74 65 |.end tel|l.end te|
|00002cd0| 6c 6c 0d 0d 49 6e 20 74 | 68 69 73 20 65 78 61 6d |ll..In t|his exam|
|00002ce0| 70 6c 65 2c 20 74 68 65 | 20 66 69 72 73 74 20 63 |ple, the| first c|
|00002cf0| 61 72 64 20 6f 66 20 61 | 20 73 74 61 63 6b 20 69 |ard of a| stack i|
|00002d00| 73 20 74 6f 6c 64 20 74 | 6f 20 64 65 6c 65 74 65 |s told t|o delete|
|00002d10| 20 74 68 65 20 66 69 72 | 73 74 20 62 75 74 74 6f | the fir|st butto|
|00002d20| 6e 20 6f 66 20 73 6f 6d | 65 20 6f 74 68 65 72 20 |n of som|e other |
|00002d30| 63 61 72 64 2e 20 4e 6f | 72 6d 61 6c 6c 79 2c 20 |card. No|rmally, |
|00002d40| 41 70 70 6c 65 53 63 72 | 69 70 74 20 77 6f 75 6c |AppleScr|ipt woul|
|00002d50| 64 20 73 65 6e 64 20 27 | 62 75 74 74 6f 6e 20 31 |d send '|button 1|
|00002d60| 20 6f 66 20 63 61 72 64 | 20 32 27 20 61 73 20 74 | of card| 2' as t|
|00002d70| 68 65 20 64 69 72 65 63 | 74 20 6f 62 6a 65 63 74 |he direc|t object|
|00002d80| 20 6f 66 20 74 68 69 73 | 20 65 76 65 6e 74 2c 20 | of this| event, |
|00002d90| 61 6e 64 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |and the |applicat|
|00002da0| 69 6f 6e 20 77 6f 75 6c | 64 20 64 69 73 70 61 74 |ion woul|d dispat|
|00002db0| 63 68 20 74 68 65 20 65 | 76 65 6e 74 20 74 6f 20 |ch the e|vent to |
|00002dc0| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 74 68 |the scri|pt of th|
|00002dd0| 65 20 66 69 72 73 74 20 | 62 75 74 74 6f 6e 20 6f |e first |button o|
|00002de0| 66 20 74 68 65 20 73 65 | 63 6f 6e 64 20 63 61 72 |f the se|cond car|
|00002df0| 64 2e 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 64 |d. Apple|Script d|
|00002e00| 6f 65 73 20 6e 6f 74 20 | 62 6f 74 68 65 72 20 74 |oes not |bother t|
|00002e10| 6f 20 73 65 6e 64 20 74 | 68 65 20 73 75 62 6a 65 |o send t|he subje|
|00002e20| 63 74 20 61 74 74 72 69 | 62 75 74 65 20 28 65 76 |ct attri|bute (ev|
|00002e30| 65 6e 20 74 68 6f 75 67 | 68 20 69 74 20 69 73 20 |en thoug|h it is |
|00002e40| 64 69 66 66 65 72 65 6e | 74 20 66 72 6f 6d 20 74 |differen|t from t|
|00002e50| 68 65 20 64 69 72 65 63 | 74 20 6f 62 6a 65 63 74 |he direc|t object|
|00002e60| 29 20 66 6f 72 20 65 66 | 66 69 63 69 65 6e 63 79 |) for ef|ficiency|
|00002e70| 20 72 65 61 73 6f 6e 73 | 2e 20 48 6f 77 65 76 65 | reasons|. Howeve|
|00002e80| 72 2c 20 69 6e 20 48 79 | 70 65 72 43 61 72 64 27 |r, in Hy|perCard'|
|00002e90| 73 20 63 61 73 65 2c 20 | 69 74 20 77 69 73 68 65 |s case, |it wishe|
|00002ea0| 73 20 27 63 61 72 64 20 | 31 27 20 74 6f 20 72 65 |s 'card |1' to re|
|00002eb0| 63 65 69 76 65 20 74 68 | 65 20 6d 65 73 73 61 67 |ceive th|e messag|
|00002ec0| 65 2e 0d 0d 53 65 74 74 | 69 6e 67 20 74 68 65 20 |e...Sett|ing the |
|00002ed0| 61 6c 77 61 79 73 53 65 | 6e 64 53 75 62 6a 65 63 |alwaysSe|ndSubjec|
|00002ee0| 74 20 62 69 74 20 69 6e | 20 74 68 65 20 6b 41 45 |t bit in| the kAE|
|00002ef0| 53 63 72 69 70 74 69 6e | 67 53 69 7a 65 52 65 73 |Scriptin|gSizeRes|
|00002f00| 6f 75 72 63 65 20 28 64 | 65 66 69 6e 65 64 20 69 |ource (d|efined i|
|00002f10| 6e 20 41 45 55 73 65 72 | 54 65 72 6d 54 79 70 65 |n AEUser|TermType|
|00002f20| 73 2e 72 29 20 6f 66 20 | 74 68 65 20 61 70 70 6c |s.r) of |the appl|
|00002f30| 69 63 61 74 69 6f 6e 20 | 77 68 69 63 68 20 72 65 |ication |which re|
|00002f40| 71 75 69 72 65 73 20 69 | 74 2c 20 77 69 6c 6c 20 |quires i|t, will |
|00002f50| 63 61 75 73 65 20 41 70 | 70 6c 65 53 63 72 69 70 |cause Ap|pleScrip|
|00002f60| 74 20 74 6f 20 61 6c 77 | 61 79 73 20 73 65 6e 64 |t to alw|ays send|
|00002f70| 20 74 68 65 20 73 75 62 | 6a 65 63 74 20 61 74 74 | the sub|ject att|
|00002f80| 72 69 62 75 74 65 2e 0d | 0d 0d 55 73 65 72 2d 44 |ribute..|..User-D|
|00002f90| 65 66 69 6e 65 64 20 50 | 72 6f 70 65 72 74 69 65 |efined P|ropertie|
|00002fa0| 73 0d 0d 49 6e 20 61 64 | 64 69 74 69 6f 6e 20 74 |s..In ad|dition t|
|00002fb0| 6f 20 75 73 65 72 2d 64 | 65 66 69 6e 65 64 20 73 |o user-d|efined s|
|00002fc0| 75 62 72 6f 75 74 69 6e | 65 20 65 76 65 6e 74 20 |ubroutin|e event |
|00002fd0| 6e 61 6d 65 73 20 61 6e | 64 20 72 65 63 6f 72 64 |names an|d record|
|00002fe0| 20 6c 61 62 65 6c 73 2c | 20 41 70 70 6c 65 53 63 | labels,| AppleSc|
|00002ff0| 72 69 70 74 20 61 6c 73 | 6f 20 73 65 6e 64 73 20 |ript als|o sends |
|00003000| 75 73 65 72 2d 64 65 66 | 69 6e 65 64 20 70 72 6f |user-def|ined pro|
|00003010| 70 65 72 74 69 65 73 20 | 74 6f 20 61 70 70 6c 69 |perties |to appli|
|00003020| 63 61 74 69 6f 6e 73 20 | 75 70 6f 6e 20 6f 63 63 |cations |upon occ|
|00003030| 61 73 69 6f 6e 2e 20 46 | 6f 72 20 65 78 61 6d 70 |asion. F|or examp|
|00003040| 6c 65 2c 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |le, the |followin|
|00003050| 67 20 73 63 72 69 70 74 | 20 77 69 6c 6c 20 73 65 |g script| will se|
|00003060| 6e 64 20 61 20 75 73 65 | 72 2d 64 65 66 69 6e 65 |nd a use|r-define|
|00003070| 64 20 70 72 6f 70 65 72 | 74 79 20 27 66 6f 6f 27 |d proper|ty 'foo'|
|00003080| 20 74 6f 20 74 68 65 20 | 46 61 63 65 53 70 61 6e | to the |FaceSpan|
|00003090| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 3a 0d 0d 74 | applica|tion:..t|
|000030a0| 65 6c 6c 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |ell appl|ication |
|000030b0| 22 46 61 63 65 53 70 61 | 6e 22 0d 09 67 65 74 20 |"FaceSpa|n"..get |
|000030c0| 66 6f 6f 20 6f 66 20 77 | 69 6e 64 6f 77 20 31 0d |foo of w|indow 1.|
|000030d0| 65 6e 64 20 74 65 6c 6c | 0d 0d 49 66 20 69 6e 20 |end tell|..If in |
|000030e0| 74 68 65 20 77 69 6e 64 | 6f 77 27 73 20 73 63 72 |the wind|ow's scr|
|000030f0| 69 70 74 20 6f 66 20 74 | 68 65 20 66 69 72 73 74 |ipt of t|he first|
|00003100| 20 77 69 6e 64 6f 77 20 | 74 68 65 20 75 73 65 72 | window |the user|
|00003110| 20 68 61 64 20 64 65 66 | 69 6e 65 64 20 61 20 27 | had def|ined a '|
|00003120| 66 6f 6f 27 20 70 72 6f | 70 65 72 74 79 3a 0d 0d |foo' pro|perty:..|
|00003130| 70 72 6f 70 65 72 74 79 | 20 66 6f 6f 20 3a 20 22 |property| foo : "|
|00003140| 48 65 6c 6c 6f 22 0d 0d | 74 68 65 20 76 61 6c 75 |Hello"..|the valu|
|00003150| 65 20 6f 66 20 74 68 69 | 73 20 70 72 6f 70 65 72 |e of thi|s proper|
|00003160| 74 79 2c 20 22 48 65 6c | 6c 6f 22 2c 20 77 6f 75 |ty, "Hel|lo", wou|
|00003170| 6c 64 20 62 65 20 72 65 | 74 75 72 6e 65 64 20 69 |ld be re|turned i|
|00003180| 6e 20 72 65 73 70 6f 6e | 73 65 20 74 6f 20 74 68 |n respon|se to th|
|00003190| 65 20 27 67 65 74 27 20 | 63 6f 6d 6d 61 6e 64 2e |e 'get' |command.|
|000031a0| 0d 0d 57 68 65 6e 20 41 | 70 70 6c 65 53 63 72 69 |..When A|ppleScri|
|000031b0| 70 74 20 73 65 6e 64 73 | 20 61 20 75 73 65 72 2d |pt sends| a user-|
|000031c0| 64 65 66 69 6e 65 64 20 | 70 72 6f 70 65 72 74 79 |defined |property|
|000031d0| 2c 20 61 20 6e 65 77 20 | 66 6f 72 6d 20 6f 66 20 |, a new |form of |
|000031e0| 70 72 6f 70 65 72 74 79 | 20 6f 62 6a 65 63 74 20 |property| object |
|000031f0| 73 70 65 63 69 66 69 65 | 72 20 69 73 20 75 73 65 |specifie|r is use|
|00003200| 64 2e 20 54 68 69 73 20 | 6f 62 6a 65 63 74 20 73 |d. This |object s|
|00003210| 70 65 63 69 66 69 65 72 | 20 68 61 73 20 6b 65 79 |pecifier| has key|
|00003220| 41 45 4b 65 79 46 6f 72 | 6d 20 3d 20 66 6f 72 6d |AEKeyFor|m = form|
|00003230| 55 73 65 72 50 72 6f 70 | 65 72 74 79 49 44 20 28 |UserProp|ertyID (|
|00003240| 66 72 6f 6d 20 41 53 52 | 65 67 69 73 74 72 79 2e |from ASR|egistry.|
|00003250| 68 29 2c 20 6b 65 79 41 | 45 44 65 73 69 72 65 64 |h), keyA|EDesired|
|00003260| 54 79 70 65 20 3d 20 66 | 6f 72 6d 50 72 6f 70 65 |Type = f|ormPrope|
|00003270| 72 74 79 49 44 2c 20 61 | 6e 64 20 6b 65 79 41 45 |rtyID, a|nd keyAE|
|00003280| 4b 65 79 44 61 74 61 20 | 69 73 20 61 20 68 61 6e |KeyData |is a han|
|00003290| 64 6c 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |dle cont|aining t|
|000032a0| 68 65 20 63 68 61 72 61 | 63 74 65 72 73 20 6f 66 |he chara|cters of|
|000032b0| 20 74 68 65 20 6e 61 6d | 65 20 69 6e 20 63 61 6e | the nam|e in can|
|000032c0| 6f 6e 69 66 69 65 64 20 | 66 6f 72 6d 2e 20 46 6f |onified |form. Fo|
|000032d0| 72 20 74 68 65 20 61 62 | 6f 76 65 20 65 78 61 6d |r the ab|ove exam|
|000032e0| 70 6c 65 3a 0d 0d 4b 65 | 79 09 09 09 54 79 70 65 |ple:..Ke|y...Type|
|000032f0| 09 09 09 44 61 74 61 0d | 66 6f 72 6d 09 09 27 65 |...Data.|form..'e|
|00003300| 6e 75 6d 27 09 09 27 75 | 73 72 70 27 0d 77 61 6e |num'..'u|srp'.wan|
|00003310| 74 09 09 27 74 79 70 65 | 27 09 09 09 27 70 72 6f |t..'type|'...'pro|
|00003320| 70 27 0d 73 65 6c 64 09 | 09 09 27 54 45 58 54 27 |p'.seld.|..'TEXT'|
|00003330| 09 09 22 66 6f 6f 22 0d | 66 72 6f 6d 09 09 09 27 |.."foo".|from...'|
|00003340| 6f 62 6a 20 27 09 20 09 | 77 69 6e 64 6f 77 20 31 |obj '. .|window 1|
|00003350| 0d 0d 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 77 |..Applic|ations w|
|00003360| 68 69 63 68 20 77 69 73 | 68 20 74 6f 20 68 61 6e |hich wis|h to han|
|00003370| 64 6c 65 20 75 73 65 72 | 2d 64 65 66 69 6e 65 64 |dle user|-defined|
|00003380| 20 70 72 6f 70 65 72 74 | 69 65 73 20 73 68 6f 75 | propert|ies shou|
|00003390| 6c 64 20 69 6e 73 74 61 | 6c 6c 20 61 70 70 72 6f |ld insta|ll appro|
|000033a0| 70 72 69 61 74 65 20 4f | 53 4c 20 61 63 63 65 73 |priate O|SL acces|
|000033b0| 73 6f 72 73 20 66 6f 72 | 20 66 6f 72 6d 55 73 65 |sors for| formUse|
|000033c0| 72 50 72 6f 70 65 72 74 | 79 49 44 2e 0d 0d 0d 53 |rPropert|yID....S|
|000033d0| 79 6e 6f 6e 79 6d 73 0d | 0d 59 6f 75 20 63 61 6e |ynonyms.|.You can|
|000033e0| 20 68 61 76 65 20 73 79 | 6e 6f 6e 79 6d 73 20 62 | have sy|nonyms b|
|000033f0| 79 20 73 70 65 63 69 66 | 79 69 6e 67 20 6d 6f 72 |y specif|ying mor|
|00003400| 65 20 74 68 61 6e 20 6f | 6e 65 20 65 6e 74 72 79 |e than o|ne entry|
|00003410| 20 66 6f 72 20 61 20 74 | 65 72 6d 20 28 61 20 67 | for a t|erm (a g|
|00003420| 69 76 65 6e 20 34 2d 6c | 65 74 74 65 72 20 63 6f |iven 4-l|etter co|
|00003430| 64 65 29 20 69 6e 20 79 | 6f 75 72 20 41 45 54 45 |de) in y|our AETE|
|00003440| 2e 20 20 54 68 65 20 6c | 61 73 74 20 20 74 65 72 |. The l|ast ter|
|00003450| 6d 20 64 65 66 69 6e 65 | 64 20 69 73 20 74 68 65 |m define|d is the|
|00003460| 20 6f 6e 65 20 74 68 61 | 74 20 77 69 6c 6c 20 70 | one tha|t will p|
|00003470| 72 69 6e 74 20 6f 75 74 | 2c 20 6e 6f 20 6d 61 74 |rint out|, no mat|
|00003480| 74 65 72 20 77 68 69 63 | 68 20 6f 6e 65 20 69 73 |ter whic|h one is|
|00003490| 20 65 6e 74 65 72 65 64 | 20 62 79 20 74 68 65 20 | entered| by the |
|000034a0| 75 73 65 72 2e 20 54 68 | 69 73 20 69 73 20 68 6f |user. Th|is is ho|
|000034b0| 77 20 22 61 70 70 22 20 | 69 73 20 6d 61 64 65 20 |w "app" |is made |
|000034c0| 74 6f 20 62 65 20 61 20 | 73 79 6e 6f 6e 79 6d 20 |to be a |synonym |
|000034d0| 6f 66 20 22 61 70 70 6c | 69 63 61 74 69 6f 6e 22 |of "appl|ication"|
|000034e0| 2e 20 20 44 6f 6e 27 74 | 20 62 6f 74 68 65 72 20 |. Don't| bother |
|000034f0| 6c 69 73 74 69 6e 67 20 | 61 6c 6c 20 74 68 65 20 |listing |all the |
|00003500| 70 72 6f 70 65 72 74 69 | 65 73 2f 63 6c 61 73 73 |properti|es/class|
|00003510| 65 73 20 6f 6e 20 61 20 | 73 79 6e 6f 6e 79 6d 2e |es on a |synonym.|
|00003520| 0d 0d 0d 43 6f 6e 73 69 | 64 65 72 61 74 69 6f 6e |...Consi|deration|
|00003530| 73 20 69 6e 20 57 68 6f | 73 65 20 43 6c 61 75 73 |s in Who|se Claus|
|00003540| 65 73 0d 0d 55 6e 74 69 | 6c 20 6e 6f 77 2c 20 74 |es..Unti|l now, t|
|00003550| 68 65 72 65 20 68 61 73 | 20 62 65 65 6e 20 6e 6f |here has| been no|
|00003560| 20 77 61 79 20 74 6f 20 | 66 69 6e 64 20 6f 75 74 | way to |find out|
|00003570| 20 77 68 61 74 20 74 68 | 65 20 63 75 72 72 65 6e | what th|e curren|
|00003580| 74 20 63 6f 6e 73 69 64 | 65 72 61 74 69 6f 6e 73 |t consid|erations|
|00003590| 20 61 72 65 20 77 68 65 | 6e 20 61 20 77 68 6f 73 | are whe|n a whos|
|000035a0| 65 20 63 6c 61 75 73 65 | 20 69 73 20 73 65 6e 74 |e clause| is sent|
|000035b0| 2e 20 49 6e 20 41 70 70 | 6c 65 53 63 72 69 70 74 |. In App|leScript|
|000035c0| 20 31 2e 31 2c 20 74 68 | 65 20 63 75 72 72 65 6e | 1.1, th|e curren|
|000035d0| 74 20 6c 69 73 74 20 6f | 66 20 69 67 6e 6f 72 69 |t list o|f ignori|
|000035e0| 6e 67 20 76 61 6c 75 65 | 73 20 28 77 68 69 63 68 |ng value|s (which|
|000035f0| 20 64 65 66 61 75 6c 74 | 73 20 74 6f 20 69 67 6e | default|s to ign|
|00003600| 6f 72 69 6e 67 20 63 61 | 73 65 29 20 69 73 20 73 |oring ca|se) is s|
|00003610| 65 6e 74 20 77 69 74 68 | 20 61 6e 79 20 65 76 65 |ent with| any eve|
|00003620| 6e 74 20 74 68 61 74 20 | 68 61 73 20 61 20 77 68 |nt that |has a wh|
|00003630| 6f 73 65 20 63 6c 61 75 | 73 65 2e 20 20 54 68 69 |ose clau|se. Thi|
|00003640| 73 20 6c 69 73 74 20 69 | 73 20 74 68 65 20 76 61 |s list i|s the va|
|00003650| 6c 75 65 20 6f 66 20 74 | 68 65 20 22 65 6e 75 6d |lue of t|he "enum|
|00003660| 43 6f 6e 73 69 64 65 72 | 61 74 69 6f 6e 73 20 3d |Consider|ations =|
|00003670| 20 27 63 6f 6e 73 27 22 | 20 61 74 74 72 69 62 75 | 'cons'"| attribu|
|00003680| 74 65 20 6f 66 20 74 68 | 65 20 65 76 65 6e 74 2e |te of th|e event.|
|00003690| 20 20 54 68 65 20 65 6c | 65 6d 65 6e 74 73 20 6f | The el|ements o|
|000036a0| 66 20 74 68 65 20 6c 69 | 73 74 20 61 72 65 20 76 |f the li|st are v|
|000036b0| 61 6c 75 65 73 20 64 65 | 66 69 6e 65 64 20 69 6e |alues de|fined in|
|000036c0| 20 41 53 52 65 67 69 73 | 74 72 79 2e 68 3a 20 6b | ASRegis|try.h: k|
|000036d0| 41 45 43 61 73 65 2c 20 | 6b 41 45 48 79 70 68 65 |AECase, |kAEHyphe|
|000036e0| 6e 73 2c 20 65 74 63 2e | 0d 0d 0d 53 74 72 69 6e |ns, etc.|...Strin|
|000036f0| 67 73 20 61 6e 64 20 54 | 65 78 74 0d 0d 54 68 65 |gs and T|ext..The|
|00003700| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 61 62 6c 65 | followi|ng table|
|00003710| 20 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 72 | describ|es the r|
|00003720| 65 6c 61 74 69 6f 6e 73 | 68 69 70 20 62 65 74 77 |elations|hip betw|
|00003730| 65 65 6e 20 41 70 70 6c | 65 53 63 72 69 70 74 20 |een Appl|eScript |
|00003740| 65 78 70 72 65 73 73 69 | 6f 6e 73 2c 20 61 6e 64 |expressi|ons, and|
|00003750| 20 74 68 65 20 34 2d 63 | 68 61 72 61 63 74 65 72 | the 4-c|haracter|
|00003760| 20 63 6f 64 65 73 20 77 | 68 69 63 68 20 41 70 70 | codes w|hich App|
|00003770| 6c 65 53 63 72 69 70 74 | 20 73 65 6e 64 73 3a 0d |leScript| sends:.|
|00003780| 0d 41 70 70 6c 65 53 63 | 72 69 70 74 20 45 78 70 |.AppleSc|ript Exp|
|00003790| 72 65 73 73 69 6f 6e 09 | 09 09 09 52 65 67 69 73 |ression.|...Regis|
|000037a0| 74 72 79 20 43 6f 6e 73 | 74 61 6e 74 09 09 09 09 |try Cons|tant....|
|000037b0| 43 6f 6e 73 74 61 6e 74 | 20 56 61 6c 75 65 0d 73 |Constant| Value.s|
|000037c0| 74 72 69 6e 67 09 09 09 | 09 09 09 09 09 09 09 09 |tring...|........|
|000037d0| 09 09 09 09 09 09 09 63 | 53 74 72 69 6e 67 20 28 |.......c|String (|
|000037e0| 3d 20 74 79 70 65 43 68 | 61 72 29 09 09 27 54 45 |= typeCh|ar)..'TE|
|000037f0| 58 54 27 0d 74 65 78 74 | 09 09 09 09 09 09 09 09 |XT'.text|........|
|00003800| 09 09 09 09 09 09 09 09 | 09 09 09 09 63 54 65 78 |........|....cTex|
|00003810| 74 09 09 09 09 09 09 09 | 09 09 09 09 09 09 27 63 |t.......|......'c|
|00003820| 74 78 74 27 0d 73 74 79 | 6c 65 64 20 74 65 78 74 |txt'.sty|led text|
|00003830| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 74 79 |........|......ty|
|00003840| 70 65 53 74 79 6c 65 64 | 54 65 78 74 09 09 09 09 |peStyled|Text....|
|00003850| 09 09 27 53 54 58 54 27 | 0d 0d 0d 57 72 69 74 69 |..'STXT'|...Writi|
|00003860| 6e 67 20 43 6f 64 65 20 | 49 6e 66 6f 0d 0d 54 68 |ng Code |Info..Th|
|00003870| 65 20 63 6c 61 73 73 20 | 57 72 69 74 69 6e 67 20 |e class |Writing |
|00003880| 43 6f 64 65 20 49 6e 66 | 6f 2c 20 63 57 72 69 74 |Code Inf|o, cWrit|
|00003890| 69 6e 67 43 6f 64 65 49 | 6e 66 6f 2c 20 77 61 73 |ingCodeI|nfo, was|
|000038a0| 20 61 64 64 65 64 20 74 | 6f 20 41 70 70 6c 65 53 | added t|o AppleS|
|000038b0| 63 72 69 70 74 2e 20 54 | 68 69 73 20 69 73 20 61 |cript. T|his is a|
|000038c0| 20 72 65 63 6f 72 64 20 | 63 6f 6e 73 69 73 74 69 | record |consisti|
|000038d0| 6e 67 20 6f 66 20 74 77 | 6f 20 70 72 6f 70 65 72 |ng of tw|o proper|
|000038e0| 74 69 65 73 3a 20 61 20 | 73 63 72 69 70 74 20 63 |ties: a |script c|
|000038f0| 6f 64 65 20 61 6e 64 20 | 61 20 6c 61 6e 67 75 61 |ode and |a langua|
|00003900| 67 65 20 63 6f 64 65 2e | 20 46 6f 72 20 66 75 72 |ge code.| For fur|
|00003910| 74 68 65 72 20 64 65 74 | 61 69 6c 73 2c 20 72 65 |ther det|ails, re|
|00003920| 66 65 72 20 74 6f 20 74 | 68 65 20 57 72 69 74 69 |fer to t|he Writi|
|00003930| 6e 67 20 43 6f 64 65 20 | 50 72 6f 70 65 72 74 79 |ng Code |Property|
|00003940| 20 73 65 63 74 69 6f 6e | 20 6c 6f 63 61 74 65 64 | section| located|
|00003950| 20 69 6e 20 74 68 65 20 | 22 53 54 45 20 31 2e 31 | in the |"STE 1.1|
|00003960| 20 52 65 6c 65 61 73 65 | 20 4e 6f 74 65 73 22 20 | Release| Notes" |
|00003970| 64 6f 63 75 6d 65 6e 74 | 2e 0d 0d 0d 41 45 55 73 |document|....AEUs|
|00003980| 65 72 54 65 72 6d 54 79 | 70 65 73 2e 72 20 43 68 |erTermTy|pes.r Ch|
|00003990| 61 6e 67 65 73 0d 0d 41 | 20 6e 65 77 20 62 69 74 |anges..A| new bit|
|000039a0| 20 68 61 73 20 62 65 65 | 6e 20 64 65 66 69 6e 65 | has bee|n define|
|000039b0| 64 20 69 6e 20 41 45 55 | 73 65 72 54 65 72 6d 54 |d in AEU|serTermT|
|000039c0| 79 70 65 73 2e 72 2c 20 | 74 69 67 68 74 42 69 6e |ypes.r, |tightBin|
|000039d0| 64 69 6e 67 46 75 6e 63 | 74 69 6f 6e 2e 20 20 54 |dingFunc|tion. T|
|000039e0| 68 65 20 70 75 72 70 6f | 73 65 20 6f 66 20 74 68 |he purpo|se of th|
|000039f0| 69 73 20 62 69 74 20 69 | 73 20 74 6f 20 74 69 67 |is bit i|s to tig|
|00003a00| 68 74 6c 79 20 62 69 6e | 64 20 74 68 65 20 64 69 |htly bin|d the di|
|00003a10| 72 65 63 74 20 70 61 72 | 61 6d 65 74 65 72 20 28 |rect par|ameter (|
|00003a20| 69 66 20 6f 6e 65 20 65 | 78 69 73 74 73 29 20 77 |if one e|xists) w|
|00003a30| 69 74 68 20 74 68 65 20 | 65 76 65 6e 74 2e 20 57 |ith the |event. W|
|00003a40| 65 20 68 61 76 65 20 73 | 65 74 20 74 68 69 73 20 |e have s|et this |
|00003a50| 62 69 74 20 69 6e 20 61 | 20 66 65 77 20 73 63 72 |bit in a| few scr|
|00003a60| 69 70 74 69 6e 67 20 61 | 64 64 69 74 69 6f 6e 73 |ipting a|dditions|
|00003a70| 20 28 69 2e 65 2e 2c 20 | 63 75 72 72 65 6e 74 20 | (i.e., |current |
|00003a80| 64 61 74 65 2c 20 41 53 | 43 49 49 20 63 68 61 72 |date, AS|CII char|
|00003a90| 61 63 74 65 72 2c 20 41 | 53 43 49 49 20 6e 75 6d |acter, A|SCII num|
|00003aa0| 62 65 72 2c 20 73 63 72 | 69 70 74 69 6e 67 20 63 |ber, scr|ipting c|
|00003ab0| 6f 6d 70 6f 6e 65 6e 74 | 73 29 2e 20 0d 0d 46 6f |omponent|s). ..Fo|
|00003ac0| 72 20 65 78 61 6d 70 6c | 65 3a 0d 0d 63 75 72 72 |r exampl|e:..curr|
|00003ad0| 65 6e 74 20 64 61 74 65 | 20 2b 20 35 0d 0d 77 6f |ent date| + 5..wo|
|00003ae0| 75 6c 64 20 70 61 73 73 | 20 74 68 65 20 69 6e 74 |uld pass| the int|
|00003af0| 65 67 65 72 20 35 20 74 | 6f 20 63 75 72 72 65 6e |eger 5 t|o curren|
|00003b00| 74 20 64 61 74 65 20 77 | 68 65 6e 20 74 68 65 20 |t date w|hen the |
|00003b10| 74 69 67 68 74 42 69 6e | 64 69 6e 67 46 75 6e 63 |tightBin|dingFunc|
|00003b20| 74 69 6f 6e 20 62 69 74 | 20 77 61 73 20 6e 6f 74 |tion bit| was not|
|00003b30| 20 73 65 74 2e 20 57 68 | 65 6e 20 73 65 74 2c 0d | set. Wh|en set,.|
|00003b40| 0d 28 63 75 72 72 65 6e | 74 20 64 61 74 65 29 20 |.(curren|t date) |
|00003b50| 2b 20 35 0d 0d 70 72 6f | 64 75 63 65 73 20 74 68 |+ 5..pro|duces th|
|00003b60| 65 20 63 6f 72 72 65 63 | 74 20 62 65 68 61 76 69 |e correc|t behavi|
|00003b70| 6f 72 2e 0d 0d 41 6e 6f | 74 68 65 72 20 65 78 61 |or...Ano|ther exa|
|00003b80| 6d 70 6c 65 20 69 73 20 | 66 72 6f 6d 20 48 79 70 |mple is |from Hyp|
|00003b90| 65 72 43 61 72 64 3a 0d | 0d 73 71 72 74 20 32 20 |erCard:.|.sqrt 2 |
|00003ba0| 2b 20 37 0d 0d 77 6f 75 | 6c 64 20 62 65 20 69 6e |+ 7..wou|ld be in|
|00003bb0| 74 65 72 70 72 65 74 65 | 64 20 61 73 3a 20 0d 0d |terprete|d as: ..|
|00003bc0| 73 71 72 74 28 32 2b 37 | 29 20 0d 0d 72 61 74 68 |sqrt(2+7|) ..rath|
|00003bd0| 65 72 20 74 68 61 6e 20 | 0d 0d 73 71 72 74 28 32 |er than |..sqrt(2|
|00003be0| 29 20 2b 20 37 0d 0d 77 | 68 69 63 68 20 69 73 20 |) + 7..w|hich is |
|00003bf0| 74 68 65 20 64 65 73 69 | 72 65 64 20 62 65 68 61 |the desi|red beha|
|00003c00| 76 69 6f 72 2e 0d 0d 0d | 49 6e 20 63 6f 6e 74 69 |vior....|In conti|
|00003c10| 6e 75 69 6e 67 20 73 75 | 70 70 6f 72 74 20 66 6f |nuing su|pport fo|
|00003c20| 72 20 69 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |r intern|ational |
|00003c30| 64 69 61 6c 65 63 74 73 | 2c 20 6f 6e 65 20 6f 66 |dialects|, one of|
|00003c40| 20 74 68 65 20 72 65 73 | 65 72 76 65 64 20 61 74 | the res|erved at|
|00003c50| 74 72 69 62 75 74 65 20 | 62 69 74 73 20 68 61 73 |tribute |bits has|
|00003c60| 20 62 65 65 6e 20 64 65 | 66 69 6e 65 64 20 61 73 | been de|fined as|
|00003c70| 20 61 6e 20 61 70 72 6f | 73 74 72 6f 70 68 65 2e | an apro|strophe.|
|00003c80| 20 4c 61 6e 67 75 61 67 | 65 73 20 77 68 69 63 68 | Languag|es which|
|00003c90| 20 64 6f 20 6e 6f 74 20 | 73 75 70 70 6f 72 74 20 | do not |support |
|00003ca0| 74 68 69 73 20 28 69 2e | 65 2e 2c 20 45 6e 67 6c |this (i.|e., Engl|
|00003cb0| 69 73 68 29 20 63 61 6e | 20 6b 65 65 70 20 74 68 |ish) can| keep th|
|00003cc0| 69 73 20 62 69 74 20 72 | 65 73 65 72 76 65 64 2e |is bit r|eserved.|
|00003cd0| 0d 0d 0d 54 79 70 65 20 | 4e 61 6d 65 73 20 53 75 |...Type |Names Su|
|00003ce0| 69 74 65 0d 0d 41 70 70 | 6c 65 53 63 72 69 70 74 |ite..App|leScript|
|00003cf0| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 61 64 64 | contain|s an add|
|00003d00| 69 74 69 6f 6e 61 6c 20 | 73 75 69 74 65 20 63 61 |itional |suite ca|
|00003d10| 6c 6c 65 64 20 74 68 65 | 20 54 79 70 65 20 4e 61 |lled the| Type Na|
|00003d20| 6d 65 73 20 53 75 69 74 | 65 2e 20 54 68 65 20 70 |mes Suit|e. The p|
|00003d30| 75 72 70 6f 73 65 20 6f | 66 20 74 68 69 73 20 73 |urpose o|f this s|
|00003d40| 75 69 74 65 20 69 73 20 | 74 6f 20 6d 61 6b 65 20 |uite is |to make |
|00003d50| 74 65 72 6d 69 6e 6f 6c | 6f 67 79 20 61 76 61 69 |terminol|ogy avai|
|00003d60| 6c 61 62 6c 65 20 77 68 | 65 6e 20 64 69 73 70 6c |lable wh|en displ|
|00003d70| 61 79 69 6e 67 20 74 79 | 70 65 73 20 69 6e 20 74 |aying ty|pes in t|
|00003d80| 68 65 20 53 63 72 69 70 | 74 20 45 64 69 74 6f 72 |he Scrip|t Editor|
|00003d90| 27 73 20 64 69 63 74 69 | 6f 6e 61 72 79 20 77 69 |'s dicti|onary wi|
|00003da0| 6e 64 6f 77 2e 20 20 49 | 66 20 79 6f 75 72 20 61 |ndow. I|f your a|
|00003db0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 64 69 73 70 6c |pplicati|on displ|
|00003dc0| 61 79 73 20 66 6f 75 72 | 20 63 68 61 72 61 63 74 |ays four| charact|
|00003dd0| 65 72 20 63 6f 64 65 73 | 20 69 6e 73 74 65 61 64 |er codes| instead|
|00003de0| 20 6f 66 20 74 68 65 20 | 70 72 6f 70 65 72 20 74 | of the |proper t|
|00003df0| 65 72 6d 69 6e 6f 6c 6f | 67 79 2c 20 79 6f 75 20 |erminolo|gy, you |
|00003e00| 77 69 6c 6c 20 77 61 6e | 74 20 74 6f 20 65 78 74 |will wan|t to ext|
|00003e10| 65 6e 64 20 74 68 69 73 | 20 73 75 69 74 65 20 69 |end this| suite i|
|00003e20| 6e 20 79 6f 75 72 20 61 | 65 74 65 20 72 65 73 6f |n your a|ete reso|
|00003e30| 75 72 63 65 20 77 69 74 | 68 20 79 6f 75 72 20 74 |urce wit|h your t|
|00003e40| 79 70 65 73 2e 20 54 68 | 65 20 54 79 70 65 20 4e |ypes. Th|e Type N|
|00003e50| 61 6d 65 73 20 53 75 69 | 74 65 20 69 73 20 64 65 |ames Sui|te is de|
|00003e60| 66 69 6e 65 64 20 69 6e | 20 41 53 52 65 67 69 73 |fined in| ASRegis|
|00003e70| 74 72 79 2e 68 20 61 73 | 20 6b 41 53 54 79 70 65 |try.h as| kASType|
|00003e80| 4e 61 6d 65 73 53 75 69 | 74 65 20 28 27 74 70 6e |NamesSui|te ('tpn|
|00003e90| 6d 27 29 2e 20 46 6f 6c | 6c 6f 77 69 6e 67 20 69 |m'). Fol|lowing i|
|00003ea0| 73 20 61 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |s an exa|mple of |
|00003eb0| 65 78 74 65 6e 64 69 6e | 67 20 74 68 65 20 73 75 |extendin|g the su|
|00003ec0| 69 74 65 20 77 69 74 68 | 20 74 77 6f 20 61 64 64 |ite with| two add|
|00003ed0| 69 74 69 6f 6e 61 6c 20 | 74 79 70 65 73 2c 20 6c |itional |types, l|
|00003ee0| 69 71 75 69 64 20 61 6e | 64 20 67 61 73 2e 0d 0d |iquid an|d gas...|
|00003ef0| 0d 09 09 22 22 2c 09 09 | 09 09 2f 2a 20 54 79 70 |..."",..|../* Typ|
|00003f00| 65 20 4e 61 6d 65 73 20 | 53 75 69 74 65 20 2a 2f |e Names |Suite */|
|00003f10| 0d 09 09 22 22 2c 0d 09 | 09 6b 41 53 54 79 70 65 |..."",..|.kASType|
|00003f20| 4e 61 6d 65 73 53 75 69 | 74 65 2c 0d 09 09 31 2c |NamesSui|te,...1,|
|00003f30| 0d 09 09 31 2c 0d 09 09 | 7b 09 09 09 09 2f 2a 20 |...1,...|{..../* |
|00003f40| 61 72 72 61 79 20 45 76 | 65 6e 74 73 20 2a 2f 0d |array Ev|ents */.|
|00003f50| 09 09 7d 2c 09 0d 09 09 | 7b 09 2f 2a 20 61 72 72 |..},....|{./* arr|
|00003f60| 61 79 20 43 6c 61 73 73 | 65 73 3a 20 32 20 65 6c |ay Class|es: 2 el|
|00003f70| 65 6d 65 6e 74 73 20 2a | 2f 0d 09 09 09 2f 2a 20 |ements *|/..../* |
|00003f80| 5b 31 5d 20 2a 2f 0d 09 | 09 09 22 6c 69 71 75 69 |[1] */..|.."liqui|
|00003f90| 64 22 2c 0d 09 09 09 74 | 79 70 65 4c 69 71 75 69 |d",....t|ypeLiqui|
|00003fa0| 64 2c 0d 09 09 09 22 6c | 69 71 75 69 64 20 74 79 |d,...."l|iquid ty|
|00003fb0| 70 65 73 20 6f 66 20 64 | 61 74 61 22 2c 0d 09 09 |pes of d|ata",...|
|00003fc0| 09 7b 09 2f 2a 20 61 72 | 72 61 79 20 50 72 6f 70 |.{./* ar|ray Prop|
|00003fd0| 65 72 74 69 65 73 3a 20 | 30 20 65 6c 65 6d 65 6e |erties: |0 elemen|
|00003fe0| 74 73 20 2a 2f 0d 09 09 | 09 7d 2c 0d 09 09 09 7b |ts */...|.},....{|
|00003ff0| 09 2f 2a 20 61 72 72 61 | 79 20 45 6c 65 6d 65 6e |./* arra|y Elemen|
|00004000| 74 73 3a 20 30 20 65 6c | 65 6d 65 6e 74 73 20 2a |ts: 0 el|ements *|
|00004010| 2f 0d 09 09 09 7d 2c 0d | 09 09 09 2f 2a 20 5b 32 |/....},.|.../* [2|
|00004020| 5d 20 2a 2f 0d 09 09 09 | 22 67 61 73 22 2c 0d 09 |] */....|"gas",..|
|00004030| 09 09 74 79 70 65 47 61 | 73 2c 0d 09 09 09 22 67 |..typeGa|s,...."g|
|00004040| 61 73 20 74 79 70 65 73 | 20 6f 66 20 64 61 74 61 |as types| of data|
|00004050| 22 2c 0d 09 09 09 7b 09 | 2f 2a 20 61 72 72 61 79 |",....{.|/* array|
|00004060| 20 50 72 6f 70 65 72 74 | 69 65 73 3a 20 30 20 65 | Propert|ies: 0 e|
|00004070| 6c 65 6d 65 6e 74 73 20 | 2a 2f 0d 09 09 09 7d 2c |lements |*/....},|
|00004080| 0d 09 09 09 7b 09 2f 2a | 20 61 72 72 61 79 20 45 |....{./*| array E|
|00004090| 6c 65 6d 65 6e 74 73 3a | 20 30 20 65 6c 65 6d 65 |lements:| 0 eleme|
|000040a0| 6e 74 73 20 2a 2f 0d 09 | 09 09 7d 2c 0d 09 09 7d |nts */..|..},...}|
|000040b0| 2c 0d 09 09 7b 09 09 09 | 09 2f 2a 20 43 6f 6d 70 |,...{...|./* Comp|
|000040c0| 61 72 69 73 6f 6e 4f 70 | 73 20 2a 2f 0d 09 09 7d |arisonOp|s */...}|
|000040d0| 2c 09 0d 09 09 7b 09 09 | 09 09 2f 2a 20 45 6e 75 |,....{..|../* Enu|
|000040e0| 6d 65 72 61 74 69 6f 6e | 73 20 2a 2f 0d 09 09 7d |meration|s */...}|
|000040f0| 2c 0d 0d 0d 54 72 61 6e | 73 61 63 74 69 6f 6e 73 |,...Tran|sactions|
|00004100| 0d 0d 62 65 67 69 6e 20 | 74 72 61 6e 73 61 63 74 |..begin |transact|
|00004110| 69 6f 6e 20 61 6e 64 20 | 65 6e 64 20 74 72 61 6e |ion and |end tran|
|00004120| 73 61 63 74 69 6f 6e 20 | 65 76 65 6e 74 73 20 61 |saction |events a|
|00004130| 72 65 20 72 65 63 6f 72 | 64 65 64 20 61 73 20 6e |re recor|ded as n|
|00004140| 6f 72 6d 61 6c 20 65 76 | 65 6e 74 73 20 72 61 74 |ormal ev|ents rat|
|00004150| 68 65 72 20 74 68 61 6e | 20 61 73 20 61 20 22 77 |her than| as a "w|
|00004160| 69 74 68 20 74 72 61 6e | 73 61 63 74 69 6f 6e 2e |ith tran|saction.|
|00004170| c9 65 6e 64 20 74 72 61 | 6e 73 61 63 74 69 6f 6e |.end tra|nsaction|
|00004180| 22 20 73 74 61 74 65 6d | 65 6e 74 2e 20 49 6e 20 |" statem|ent. In |
|00004190| 61 64 64 69 74 69 6f 6e | 2c 20 74 68 65 20 74 65 |addition|, the te|
|000041a0| 72 6d 69 6e 6f 6c 6f 67 | 79 20 66 6f 72 20 6b 41 |rminolog|y for kA|
|000041b0| 45 42 65 67 69 6e 54 72 | 61 6e 73 61 63 74 69 6f |EBeginTr|ansactio|
|000041c0| 6e 20 61 6e 64 20 6b 41 | 45 45 6e 64 54 72 61 6e |n and kA|EEndTran|
|000041d0| 73 61 63 74 69 6f 6e 20 | 69 73 20 6e 6f 74 20 69 |saction |is not i|
|000041e0| 6e 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 41 |n the st|andard A|
|000041f0| 70 70 6c 65 53 63 72 69 | 70 74 20 64 69 63 74 69 |ppleScri|pt dicti|
|00004200| 6f 6e 61 72 79 2e 20 20 | 41 20 77 6f 72 6b 61 72 |onary. |A workar|
|00004210| 6f 75 6e 64 20 66 6f 72 | 20 61 70 70 6c 69 63 61 |ound for| applica|
|00004220| 74 69 6f 6e 73 20 69 73 | 20 74 6f 20 64 65 66 69 |tions is| to defi|
|00004230| 6e 65 20 62 6f 74 68 20 | 74 68 65 73 65 20 65 76 |ne both |these ev|
|00004240| 65 6e 74 73 20 69 6e 20 | 74 68 65 69 72 20 41 45 |ents in |their AE|
|00004250| 54 45 20 77 69 74 68 20 | 6e 61 6d 65 73 20 74 68 |TE with |names th|
|00004260| 61 74 20 64 6f 20 6e 6f | 74 20 63 6f 6e 66 6c 69 |at do no|t confli|
|00004270| 63 74 2e 0d 0d 41 6e 6f | 74 68 65 72 2c 20 61 6c |ct...Ano|ther, al|
|00004280| 74 68 6f 75 67 68 20 75 | 67 6c 79 2c 20 77 6f 72 |though u|gly, wor|
|00004290| 6b 61 72 6f 75 6e 64 20 | 69 73 20 74 6f 20 73 75 |karound |is to su|
|000042a0| 67 67 65 73 74 20 74 68 | 61 74 20 75 73 65 72 73 |ggest th|at users|
|000042b0| 20 73 68 6f 75 6c 64 20 | 65 64 69 74 20 74 68 65 | should |edit the|
|000042c0| 20 73 63 72 69 70 74 20 | 62 79 20 75 73 69 6e 67 | script |by using|
|000042d0| 20 61 20 6e 61 6d 65 20 | 6c 69 6b 65 20 22 77 69 | a name |like "wi|
|000042e0| 74 68 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 20 28 |th trans|action (|
|000042f0| 2a 20 72 65 6d 6f 76 65 | 20 74 68 69 73 20 63 6f |* remove| this co|
|00004300| 6d 6d 65 6e 74 20 74 6f | 20 6d 61 6b 65 20 61 20 |mment to| make a |
|00004310| 74 72 61 6e 73 61 63 74 | 69 6f 6e 20 73 74 61 74 |transact|ion stat|
|00004320| 65 6d 65 6e 74 20 2a 29 | 22 2c 20 77 68 69 63 68 |ement *)|", which|
|00004330| 20 77 69 6c 6c 20 70 72 | 69 6e 74 20 6f 75 74 20 | will pr|int out |
|00004340| 61 6e 64 20 69 6e 63 6c | 75 64 65 20 61 20 63 6f |and incl|ude a co|
|00004350| 6d 6d 65 6e 74 20 61 73 | 20 70 61 72 74 20 6f 66 |mment as| part of|
|00004360| 20 74 68 65 20 65 76 65 | 6e 74 2e 20 20 54 68 69 | the eve|nt. Thi|
|00004370| 73 20 65 76 65 6e 74 20 | 77 69 6c 6c 20 6e 6f 74 |s event |will not|
|00004380| 20 72 65 2d 70 61 72 73 | 65 2c 20 61 6e 64 20 74 | re-pars|e, and t|
|00004390| 68 65 20 75 73 65 72 20 | 77 69 6c 6c 20 68 61 76 |he user |will hav|
|000043a0| 65 20 74 6f 20 63 6f 72 | 72 65 63 74 20 69 74 2e |e to cor|rect it.|
|000043b0| 0d 0d 0d 0d 44 65 76 65 | 6c 6f 70 69 6e 67 20 4f |....Deve|loping O|
|000043c0| 53 41 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 73 0d |SA Appli|cations.|
|000043d0| 0d 45 72 72 6f 72 20 52 | 61 6e 67 65 0d 0d 49 66 |.Error R|ange..If|
|000043e0| 20 53 63 72 69 70 74 45 | 72 72 6f 72 27 73 20 65 | ScriptE|rror's e|
|000043f0| 72 72 6f 72 20 72 61 6e | 67 65 20 69 73 20 7b 30 |rror ran|ge is {0|
|00004400| 2c 30 7d 2c 20 74 68 65 | 6e 20 47 65 74 53 6f 75 |,0}, the|n GetSou|
|00004410| 72 63 65 20 6d 75 73 74 | 20 62 65 20 63 61 6c 6c |rce must| be call|
|00004420| 65 64 20 74 6f 20 63 72 | 65 61 74 65 20 61 20 76 |ed to cr|eate a v|
|00004430| 61 6c 69 64 20 65 72 72 | 6f 72 20 72 61 6e 67 65 |alid err|or range|
|00004440| 0d 0d 6b 4f 53 41 4d 6f | 64 65 44 69 73 70 61 74 |..kOSAMo|deDispat|
|00004450| 63 68 54 6f 44 69 72 65 | 63 74 4f 62 6a 65 63 74 |chToDire|ctObject|
|00004460| 0d 0d 6b 4f 53 41 4d 6f | 64 65 44 69 73 70 61 74 |..kOSAMo|deDispat|
|00004470| 63 68 54 6f 44 69 72 65 | 63 74 4f 62 6a 65 63 74 |chToDire|ctObject|
|00004480| 20 73 65 72 76 65 73 20 | 74 77 6f 20 70 75 72 70 | serves |two purp|
|00004490| 6f 73 65 73 3a 0d 0d 31 | 29 20 74 68 69 73 20 6d |oses:..1|) this m|
|000044a0| 6f 64 65 20 66 6c 61 67 | 20 6d 61 79 20 62 65 20 |ode flag| may be |
|000044b0| 70 61 73 73 65 64 20 74 | 6f 20 4f 53 41 45 78 65 |passed t|o OSAExe|
|000044c0| 63 75 74 65 45 76 65 6e | 74 20 74 6f 20 63 61 75 |cuteEven|t to cau|
|000044d0| 73 65 20 74 68 65 20 65 | 76 65 6e 74 20 74 6f 20 |se the e|vent to |
|000044e0| 62 65 20 64 69 73 70 61 | 74 63 68 65 64 20 74 6f |be dispa|tched to|
|000044f0| 20 74 68 65 20 64 69 72 | 65 63 74 20 6f 62 6a 65 | the dir|ect obje|
|00004500| 63 74 20 6f 66 20 74 68 | 65 20 65 76 65 6e 74 2e |ct of th|e event.|
|00004510| 20 54 68 65 20 64 69 72 | 65 63 74 20 6f 62 6a 65 | The dir|ect obje|
|00004520| 63 74 20 28 6f 72 20 73 | 75 62 6a 65 63 74 20 61 |ct (or s|ubject a|
|00004530| 74 74 72 69 62 75 74 65 | 20 69 66 20 74 68 65 20 |ttribute| if the |
|00004540| 64 69 72 65 63 74 20 6f | 62 6a 65 63 74 20 69 73 |direct o|bject is|
|00004550| 20 61 20 6e 6f 6e 2d 6f | 62 6a 65 63 74 20 73 70 | a non-o|bject sp|
|00004560| 65 63 69 66 69 65 72 29 | 20 77 69 6c 6c 0d 62 65 |ecifier)| will.be|
|00004570| 20 72 65 73 6f 6c 76 65 | 64 2c 20 61 6e 64 20 74 | resolve|d, and t|
|00004580| 68 65 20 72 65 73 75 6c | 74 69 6e 67 20 73 63 72 |he resul|ting scr|
|00004590| 69 70 74 20 6f 62 6a 65 | 63 74 20 77 69 6c 6c 20 |ipt obje|ct will |
|000045a0| 62 65 20 74 68 65 20 72 | 65 63 69 70 69 65 6e 74 |be the r|ecipient|
|000045b0| 20 6f 66 0d 74 68 65 20 | 6d 65 73 73 61 67 65 2e | of.the |message.|
|000045c0| 20 0d 0d 32 29 20 74 68 | 65 20 63 6f 6e 74 65 78 | ..2) th|e contex|
|000045d0| 74 20 61 72 67 75 6d 65 | 6e 74 20 77 69 6c 6c 20 |t argume|nt will |
|000045e0| 62 65 20 69 6e 74 65 72 | 70 72 65 74 65 64 20 61 |be inter|preted a|
|000045f0| 73 20 74 68 65 20 72 6f | 6f 74 20 63 6f 6e 74 65 |s the ro|ot conte|
|00004600| 78 74 20 69 6e 20 77 68 | 69 63 68 20 74 68 65 20 |xt in wh|ich the |
|00004610| 64 69 72 65 63 74 20 70 | 61 72 61 6d 65 74 65 72 |direct p|arameter|
|00004620| 20 69 73 20 72 65 73 6f | 6c 76 65 64 20 69 6e 20 | is reso|lved in |
|00004630| 6f 72 64 65 72 20 74 6f | 20 66 69 6e 64 20 74 68 |order to| find th|
|00004640| 65 20 72 65 61 6c 20 63 | 6f 6e 74 65 78 74 20 74 |e real c|ontext t|
|00004650| 6f 20 72 65 63 65 69 76 | 65 20 74 68 65 20 6d 65 |o receiv|e the me|
|00004660| 73 73 61 67 65 20 28 6f | 74 68 65 72 77 69 73 65 |ssage (o|therwise|
|00004670| 20 74 68 65 20 63 6f 6e | 74 65 78 74 20 69 73 20 | the con|text is |
|00004680| 75 73 65 64 20 64 69 72 | 65 63 74 6c 79 20 74 6f |used dir|ectly to|
|00004690| 20 6c 6f 6f 6b 20 75 70 | 20 61 6e 79 20 20 68 61 | look up| any ha|
|000046a0| 6e 64 6c 65 72 73 29 2e | 0d 0d 6b 4f 53 41 4d 6f |ndlers).|..kOSAMo|
|000046b0| 64 65 44 6f 6e 74 47 65 | 74 44 61 74 61 46 6f 72 |deDontGe|tDataFor|
|000046c0| 41 72 67 75 6d 65 6e 74 | 73 0d 0d 54 68 65 20 64 |Argument|s..The d|
|000046d0| 65 66 61 75 6c 74 20 62 | 65 68 61 76 69 6f 72 20 |efault b|ehavior |
|000046e0| 66 6f 72 20 6f 62 6a 65 | 63 74 20 73 70 65 63 69 |for obje|ct speci|
|000046f0| 66 69 65 72 73 20 61 73 | 20 70 61 72 61 6d 65 74 |fiers as| paramet|
|00004700| 65 72 73 20 69 73 20 66 | 6f 72 20 41 70 70 6c 65 |ers is f|or Apple|
|00004710| 53 63 72 69 70 74 20 74 | 6f 20 67 65 74 20 74 68 |Script t|o get th|
|00004720| 65 20 64 61 74 61 20 61 | 73 73 6f 63 69 61 74 65 |e data a|ssociate|
|00004730| 64 20 77 69 74 68 20 74 | 68 65 20 70 61 72 61 6d |d with t|he param|
|00004740| 65 74 65 72 2e 20 48 6f | 77 65 76 65 72 2c 20 69 |eter. Ho|wever, i|
|00004750| 66 20 6b 4f 53 41 4d 6f | 64 65 44 6f 6e 74 44 6f |f kOSAMo|deDontDo|
|00004760| 47 65 74 44 61 74 61 20 | 69 73 20 70 72 65 73 65 |GetData |is prese|
|00004770| 6e 74 2c 20 61 6e 79 20 | 6f 62 6a 65 63 74 20 73 |nt, any |object s|
|00004780| 70 65 63 69 66 69 65 72 | 73 20 77 68 69 63 68 20 |pecifier|s which |
|00004790| 61 72 65 20 70 61 72 61 | 6d 65 74 65 72 73 20 74 |are para|meters t|
|000047a0| 6f 20 74 68 65 20 65 76 | 65 6e 74 20 61 72 65 20 |o the ev|ent are |
|000047b0| 74 72 65 61 74 65 64 20 | 61 73 20 22 72 65 66 65 |treated |as "refe|
|000047c0| 72 65 6e 63 65 73 22 20 | 69 6e 20 74 68 65 20 73 |rences" |in the s|
|000047d0| 63 72 69 70 74 2c 20 61 | 6e 64 20 77 69 6c 6c 20 |cript, a|nd will |
|000047e0| 6e 6f 74 20 62 65 20 72 | 65 73 6f 6c 76 65 64 20 |not be r|esolved |
|000047f0| 62 79 20 41 70 70 6c 65 | 53 63 72 69 70 74 20 28 |by Apple|Script (|
|00004800| 67 65 74 20 64 61 74 61 | 27 73 20 77 69 6c 6c 20 |get data|'s will |
|00004810| 6e 6f 74 20 62 65 20 73 | 65 6e 74 20 74 6f 20 67 |not be s|ent to g|
|00004820| 65 74 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 20 |et the c|ontents |
|00004830| 6f 66 20 74 68 65 20 72 | 65 66 65 72 65 6e 63 65 |of the r|eference|
|00004840| 73 29 2e 20 0d 0d 52 65 | 73 6f 75 72 63 65 20 49 |s). ..Re|source I|
|00004850| 44 27 73 0d 0d 54 68 65 | 20 72 65 73 6f 75 72 63 |D's..The| resourc|
|00004860| 65 20 49 44 20 6f 66 20 | 74 68 65 20 61 65 74 65 |e ID of |the aete|
|00004870| 20 69 73 20 64 65 74 65 | 72 6d 69 6e 65 64 20 62 | is dete|rmined b|
|00004880| 79 3a 0d 0d 28 53 63 72 | 69 70 74 43 6f 64 65 20 |y:..(Scr|iptCode |
|00004890| 3c 3c 20 38 20 7c 20 4c | 61 6e 67 75 61 67 65 20 |<< 8 | L|anguage |
|000048a0| 43 6f 64 65 29 0d 0d 49 | 6e 76 61 6c 69 64 20 53 |Code)..I|nvalid S|
|000048b0| 63 72 69 70 74 69 6e 67 | 20 43 6f 6d 70 6f 6e 65 |cripting| Compone|
|000048c0| 6e 74 20 49 6e 73 74 61 | 6e 63 65 0d 0d 41 70 70 |nt Insta|nce..App|
|000048d0| 6c 69 63 61 74 69 6f 6e | 73 20 73 68 6f 75 6c 64 |lication|s should|
|000048e0| 20 6e 6f 74 20 6c 6f 6e | 67 6a 6d 70 20 6f 75 74 | not lon|gjmp out|
|000048f0| 20 6f 66 20 61 20 53 65 | 6e 64 50 72 6f 63 20 6f | of a Se|ndProc o|
|00004900| 72 20 41 63 74 69 76 65 | 50 72 6f 63 20 61 6e 64 |r Active|Proc and|
|00004910| 20 74 68 65 6e 20 65 78 | 70 65 63 74 20 74 68 65 | then ex|pect the|
|00004920| 69 72 20 73 63 72 69 70 | 74 69 6e 67 20 63 6f 6d |ir scrip|ting com|
|00004930| 70 6f 6e 65 6e 74 20 69 | 6e 73 74 61 6e 63 65 20 |ponent i|nstance |
|00004940| 74 6f 20 73 74 69 6c 6c | 20 62 65 20 75 73 61 62 |to still| be usab|
|00004950| 6c 65 0d 0d 4f 53 41 44 | 6f 45 76 65 6e 74 20 43 |le..OSAD|oEvent C|
|00004960| 6c 61 72 69 66 69 63 61 | 74 69 6f 6e 0d 0d 49 6e |larifica|tion..In|
|00004970| 20 74 68 65 20 49 6e 73 | 69 64 65 20 4d 61 63 69 | the Ins|ide Maci|
|00004980| 6e 74 6f 73 68 20 49 6e | 74 65 72 61 70 70 6c 69 |ntosh In|terappli|
|00004990| 63 61 74 69 6f 6e 20 43 | 6f 6d 6d 75 6e 69 63 61 |cation C|ommunica|
|000049a0| 74 69 6f 6e 20 76 6f 6c | 75 6d 65 2c 20 74 68 65 |tion vol|ume, the|
|000049b0| 20 63 68 61 70 74 65 72 | 20 61 62 6f 75 74 20 73 | chapter| about s|
|000049c0| 63 72 69 70 74 69 6e 67 | 20 63 6f 6d 70 6f 6e 65 |cripting| compone|
|000049d0| 6e 74 73 20 69 73 20 6e | 6f 74 20 65 78 70 6c 69 |nts is n|ot expli|
|000049e0| 63 69 74 20 61 62 6f 75 | 74 20 77 68 6f 20 63 72 |cit abou|t who cr|
|000049f0| 65 61 74 65 73 20 74 68 | 65 20 72 65 74 75 72 6e |eates th|e return|
|00004a00| 65 64 20 41 70 70 6c 65 | 20 65 76 65 6e 74 20 69 |ed Apple| event i|
|00004a10| 6e 20 74 68 65 20 4f 53 | 41 44 6f 45 76 65 6e 74 |n the OS|ADoEvent|
|00004a20| 20 63 61 6c 6c 2e 20 20 | 50 72 6f 67 72 61 6d 6d | call. |Programm|
|00004a30| 65 72 73 20 64 6f 20 6e | 6f 74 20 68 61 76 65 20 |ers do n|ot have |
|00004a40| 74 6f 20 63 72 65 61 74 | 65 20 74 68 65 20 72 65 |to creat|e the re|
|00004a50| 70 6c 79 20 41 70 70 6c | 65 20 65 76 65 6e 74 20 |ply Appl|e event |
|00004a60| 74 68 65 6d 73 65 6c 76 | 65 73 2c 20 4f 53 41 44 |themselv|es, OSAD|
|00004a70| 6f 45 76 65 6e 74 20 63 | 72 65 61 74 65 73 20 74 |oEvent c|reates t|
|00004a80| 68 65 20 72 65 74 75 72 | 6e 20 65 76 65 6e 74 20 |he retur|n event |
|00004a90| 64 75 72 69 6e 67 20 65 | 78 65 63 75 74 69 6f 6e |during e|xecution|
|00004aa0| 2e 0d 00 00 02 6c 00 93 | 00 13 01 1e c5 84 01 1e |.....l..|........|
|00004ab0| c5 78 01 21 00 cf 01 1e | c5 74 00 00 00 00 00 24 |.x.!....|.t.....$|
|00004ac0| 00 10 01 cd 00 00 01 eb | 00 08 01 fc 00 09 08 3b |........|.......;|
|00004ad0| 00 08 08 53 00 09 0c ce | 00 08 0c ea 00 09 0e 25 |...S....|.......%|
|00004ae0| 00 0a 0e 27 00 07 0e 40 | 00 0a 0e 43 00 07 0e 48 |...'...@|...C...H|
|00004af0| 00 0a 0e 4b 00 07 0e 58 | 00 0a 0e 5a 00 07 0e 5b |...K...X|...Z...[|
|00004b00| 00 0a 0e 60 00 07 0e 9a | 00 0a 0e 9d 00 07 0e 9e |...`....|........|
|00004b10| 00 0a 0e a1 00 07 0e a2 | 00 06 0e a6 00 07 0e a8 |........|........|
|00004b20| 00 05 0e cc 00 07 0e ef | 00 09 12 38 00 00 12 52 |........|...8...R|
|00004b30| 00 09 15 40 00 00 15 51 | 00 08 15 53 00 09 19 78 |...@...Q|...S...x|
|00004b40| 00 08 19 92 00 09 1a 6a | 00 07 1a 9e 00 09 1e c7 |.......j|........|
|00004b50| 00 07 1e fb 00 09 1f f8 | 00 07 20 19 00 0a 20 1e |........|.. ... .|
|00004b60| 00 07 20 2f 00 09 20 e4 | 00 08 20 f7 00 09 21 47 |.. /.. .|.. ...!G|
|00004b70| 00 0c 21 50 00 09 26 b1 | 00 08 26 c6 00 09 28 77 |..!P..&.|..&...(w|
|00004b80| 00 0a 28 7b 00 07 28 85 | 00 0a 28 87 00 07 28 8f |..({..(.|..(...(.|
|00004b90| 00 09 2a fc 00 0d 2b 25 | 00 09 2c 74 00 0a 2c 78 |..*...+%|..,t..,x|
|00004ba0| 00 07 2c 92 00 0a 2c 96 | 00 07 2c b0 00 0a 2c b2 |..,...,.|..,...,.|
|00004bb0| 00 07 2c bb 00 0a 2c be | 00 07 2c bf 00 0a 2c c3 |..,...,.|..,...,.|
|00004bc0| 00 07 2c c4 00 0a 2c c7 | 00 07 2c c8 00 0a 2c cc |..,...,.|..,...,.|
|00004bd0| 00 07 2c cd 00 09 2f 84 | 00 00 2f 9b 00 09 30 99 |..,.../.|../...0.|
|00004be0| 00 0a 30 9d 00 07 30 b6 | 00 0a 30 b9 00 07 30 be |..0...0.|..0...0.|
|00004bf0| 00 0a 30 c0 00 07 30 ca | 00 0a 30 cd 00 07 30 ce |..0...0.|..0...0.|
|00004c00| 00 0a 30 d2 00 07 30 d3 | 00 09 31 2a 00 0a 31 32 |..0...0.|..1*..12|
|00004c10| 00 07 31 41 00 09 32 e0 | 00 0b 32 f1 00 09 33 c8 |..1A..2.|..2...3.|
|00004c20| 00 00 33 c9 00 0f 33 d1 | 00 01 33 d2 00 02 35 1d |..3...3.|..3...5.|
|00004c30| 00 0f 35 3d 00 02 36 e5 | 00 00 36 f5 00 09 37 7b |..5=..6.|..6...7{|
|00004c40| 00 0b 37 b8 00 09 38 54 | 00 02 38 55 00 0f 38 66 |..7...8T|..8U..8f|
|00004c50| 00 01 38 68 00 02 39 76 | 00 0f 39 8f 00 03 39 90 |..8h..9v|..9...9.|
|00004c60| 00 04 39 91 00 05 3a c6 | 00 06 3a d6 00 02 3b 3b |..9...:.|..:...;;|
|00004c70| 00 07 3b 4d 00 02 3b 93 | 00 07 3b 99 00 06 3b 9e |..;M..;.|..;...;.|
|00004c80| 00 02 3b ba 00 07 3b c3 | 00 02 3b d4 00 07 3b e1 |..;...;.|..;...;.|
|00004c90| 00 05 3c 01 00 04 3c 02 | 00 05 3c cd 00 00 3c de |..<...<.|..<...<.|
|00004ca0| 00 09 3e eb 00 0e 40 ec | 00 09 40 ed 00 05 40 ee |..>...@.|..@...@.|
|00004cb0| 00 0f 40 fa 00 02 43 ae | 00 00 43 cb 00 11 43 d7 |..@...C.|..C...C.|
|00004cc0| 00 10 43 d8 00 09 44 3c | 00 08 44 5a 00 09 46 a4 |..C...D<|..DZ..F.|
|00004cd0| 00 08 46 c3 00 09 48 3f | 00 08 48 4e 00 09 48 a1 |..F...H?|..HN..H.|
|00004ce0| 00 08 48 c6 00 09 49 4e | 00 08 49 67 00 09 49 80 |..H...IN|..Ig..I.|
|00004cf0| 00 0c 49 9f 00 09 4a 10 | 00 12 4a 1a 00 09 4a 66 |..I...J.|..J...Jf|
|00004d00| 00 12 4a 70 00 09 4a 9d | ff ff 4a 72 00 09 4a 9f |..Jp..J.|..Jr..J.|
|00004d10| ff ff 00 00 01 56 00 09 | 00 13 00 0e 00 01 05 00 |.....V..|........|
|00004d20| 00 0e 00 00 00 00 00 00 | 00 02 00 10 00 0c 00 03 |........|........|
|00004d30| 05 00 00 00 00 00 00 00 | 00 00 00 09 00 10 00 0c |........|........|
|00004d40| 00 03 00 00 00 00 00 00 | 00 00 00 00 00 01 00 10 |........|........|
|00004d50| 00 0c 00 03 05 00 00 0c | 00 00 00 00 00 00 00 02 |........|........|
|00004d60| 00 10 00 0c 00 03 01 00 | 00 0c 00 00 00 00 00 00 |........|........|
|00004d70| 00 05 00 10 00 0c 00 03 | 00 00 00 0c 00 00 00 00 |........|........|
|00004d80| 00 00 00 03 00 0c 00 09 | 00 16 00 00 00 0a 00 00 |........|........|
|00004d90| 00 00 00 00 00 20 00 0d | 00 0a 00 03 00 00 00 0a |..... ..|........|
|00004da0| 00 00 00 00 00 00 00 0c | 00 10 00 0c 00 01 05 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 21 00 10 00 0c 00 01 |........|.!......|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 17 00 0d 00 0a |........|........|
|00004dd0| 00 03 01 00 00 0a 00 00 | 00 00 00 00 00 02 00 10 |........|........|
|00004de0| 00 0c 00 01 04 00 00 00 | 00 00 00 00 00 00 00 02 |........|........|
|00004df0| 00 10 00 0c 00 01 02 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 00 01 00 10 00 0c 00 01 | 01 00 00 00 00 00 00 00 |........|........|
|00004e10| 00 00 00 01 00 0d 00 0a | 00 01 00 00 00 0a 00 00 |........|........|
|00004e20| 00 00 00 00 00 05 00 13 | 00 0e 00 03 05 00 00 0e |........|........|
|00004e30| 00 00 00 00 00 00 00 02 | 00 10 00 0c 00 01 00 00 |........|........|
|00004e40| 00 0c 00 00 00 00 00 00 | 00 01 00 10 00 0c 00 01 |........|........|
|00004e50| 05 00 00 0c 00 00 00 00 | 00 00 00 02 00 0b 00 09 |........|........|
|00004e60| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 07 d0 |........|........|
|00004e70| 00 13 00 0e 00 13 00 0e | 00 10 00 0c 00 10 00 0c |........|........|
|00004e80| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004e90| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004ea0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004eb0| 00 13 00 0e 00 13 00 0e | 00 10 00 0c 00 10 00 0c |........|........|
|00004ec0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004ed0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004ee0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004ef0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f00| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f10| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f20| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f30| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f40| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f50| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f60| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f70| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f80| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004f90| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004fa0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004fb0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004fc0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004fd0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00004fe0| 00 10 00 0c 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|00004ff0| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|00005000| 00 0d 00 0a 00 10 00 0c | 00 0d 00 0a 00 10 00 0c |........|........|
|00005010| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005020| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005030| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005040| 00 13 00 0e 00 13 00 0e | 00 13 00 0e 00 10 00 0c |........|........|
|00005050| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005060| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005070| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005080| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005090| 00 13 00 0e 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000050a0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000050b0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000050c0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000050d0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000050e0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000050f0| 00 10 00 0c 00 10 00 0c | 00 0d 00 0a 00 10 00 0c |........|........|
|00005100| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005110| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005120| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005130| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005140| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005150| 00 10 00 0c 00 0d 00 0a | 00 10 00 0c 00 10 00 0c |........|........|
|00005160| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005170| 00 10 00 0c 00 10 00 0c | 00 0d 00 0a 00 10 00 0c |........|........|
|00005180| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005190| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000051a0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000051b0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000051c0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000051d0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000051e0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000051f0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005200| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005210| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005220| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005230| 00 0d 00 0a 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005240| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005250| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005260| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005270| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005280| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|00005290| 00 0d 00 0a 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000052a0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000052b0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000052c0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 13 00 0e |........|........|
|000052d0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000052e0| 00 10 00 0c 00 10 00 0c | 00 0d 00 0a 00 0d 00 0a |........|........|
|000052f0| 00 0d 00 0a 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005300| 00 10 00 0c 00 0d 00 0a | 00 10 00 0c 00 10 00 0c |........|........|
|00005310| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005320| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005330| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005340| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005350| 00 10 00 0c 00 13 00 0e | 00 13 00 0e 00 10 00 0c |........|........|
|00005360| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005370| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 13 00 0e |........|........|
|00005380| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005390| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000053a0| 00 10 00 0c 00 13 00 0e | 00 10 00 0c 00 10 00 0c |........|........|
|000053b0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000053c0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000053d0| 00 13 00 0e 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000053e0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000053f0| 00 13 00 0e 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005400| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005410| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005420| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005430| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005440| 00 0d 00 0a 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005450| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005460| 00 0d 00 0a 00 0d 00 0a | 00 10 00 0c 00 10 00 0c |........|........|
|00005470| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005480| 00 10 00 0c 00 10 00 0c | 00 13 00 0e 00 10 00 0c |........|........|
|00005490| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000054a0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000054b0| 00 10 00 0c 00 10 00 0c | 00 0d 00 0a 00 0d 00 0a |........|........|
|000054c0| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|000054d0| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|000054e0| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|000054f0| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|00005500| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|00005510| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 0d 00 0a |........|........|
|00005520| 00 0d 00 0a 00 0d 00 0a | 00 0d 00 0a 00 10 00 0c |........|........|
|00005530| 00 10 00 0c 00 13 00 0e | 00 10 00 0c 00 10 00 0c |........|........|
|00005540| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005550| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005560| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005570| 00 10 00 0c 00 10 00 0c | 00 13 00 0e 00 13 00 0e |........|........|
|00005580| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005590| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000055a0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000055b0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000055c0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000055d0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000055e0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|000055f0| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005600| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005610| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005620| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005630| 00 10 00 0c 00 10 00 0c | 00 10 00 0c 00 10 00 0c |........|........|
|00005640| 00 00 00 08 00 00 00 00 | 01 1e c5 70 00 00 00 16 |........|...p....|
|00005650| 00 00 00 00 00 00 00 10 | 00 0c 00 01 00 00 00 0c |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 0c 00 00 00 01 00 2b |........|.......+|
|00005670| 00 13 01 4e 01 f3 | |...N.. | |
+--------+-------------------------+-------------------------+--------+--------+